Description Usage Arguments Examples
function to scale numeric and categorical variables for multi-model approaches. Categorical covariates must be provided as factors and will be converted to 0,1 dummy variables.
| 1 | 
| df | = dataset containing all response, explanatory, and grouping factors | 
| ID | = names of grouping variables that should not be scaled; provide as c("Var1", "Var2") | 
| centered | = should the function center the mean at 0? (defaults to TRUE) | 
| scaled | = should the function scale each variable by its standard deviation? (defaults to TRUE) | 
| 1 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.