Dynamize headers or R code within 'Rmd' files to prevent proliferation of 'Rmd' files for similar reports. Add in external HTML document within 'rmarkdown' rendered HTML doc.

Bayesian clustering using a Dirichlet process mixture model. This model is an alternative to regression models, non-parametrically linking a response vector to covariate data through cluster membership. The package allows Bernoulli, Binomial, Poisson, Normal, survival and categorical response, as well as Normal and discrete covariates. It also allows for fixed effects in the response model, where a spatial CAR (conditional autoregressive) term can be also included. Additionally, predictions may be made for the response, and missing values for the covariates are handled. Several samplers and label switching moves are implemented along with diagnostic tools to assess convergence. A number of R functions for post-processing of the output are also provided. In addition to fitting mixtures, it may additionally be of interest to determine which covariates actively drive the mixture components. This is implemented in the package as variable selection. The main reference for the package is Liverani, Hastie, Azizi, Papathomas and Richardson (2015) <doi:10.18637/jss.v064.i07>.

A database containing the names 
  of the babies born in Quebec between 1980 and 2020.

Prepares data for statistical analysis (e.g., analysis of variance
  ;ANOVA) by enabling the user to easily and quickly merge (using the
  file_merge() function) raw data files into one merged table and then
  aggregate the merged table (using the prep() function) into a finalized
  table while keeping track and summarizing every step of the preparation.
  The finalized table contains several possibilities for dependent measures of
  the dependent variable. Most suitable when measuring variables in an
  interval or ratio scale (e.g., reaction-times) and/or discrete values such
  as accuracy. Main functions included are file_merge() and prep(). The
  file_merge() function vertically merges individual data files (in a long
  format) in which each line is a single observation to one single dataset.
  The prep() function aggregates the single dataset according to any
  combination of grouping variables (i.e., between-subjects and
  within-subjects independent variables, respectively), and returns a data
  frame with a number of dependent measures for further analysis for each cell
  according to the combination of provided grouping variables. Dependent
  measures for each cell include among others means before and after rejecting
  all values according to a flexible standard deviation criteria, number of
  rejected values according to the flexible standard deviation criteria,
  proportions of rejected values according to the flexible standard deviation
  criteria, number of values before rejection, means after rejecting values
  according to procedures described in Van Selst & Jolicoeur (1994; suitable
  when measuring reaction-times), standard deviations, medians, means according
  to any percentile (e.g., 0.05, 0.25, 0.75, 0.95) and harmonic means. The data
  frame prep() returns can also be exported as a txt file to be used for
  statistical analysis in other statistical programs.