Description Usage Arguments Value
Grouping will be added to any grouping already present by default.
1 | train_models(data, grouping, cues, add_groups = TRUE)
|
data |
Data source with columns for grouping and "cues" |
grouping |
quoted column names to group by (strings, 'quote', or '~') |
cues |
quoted column names containing cues |
add_groups |
add 'grouping' to existing groups, or overwrite (default TRUE) |
A data frame like for summarise, with columns for grouping factor, plus list columns 'data' (the matrix used to train the model) and 'model'. 'model$mu' is the mean, and 'model$Sigma' is the covariance matrix. If 'add_groups==TRUE', original grouping will be maintained.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.