.convert_to_factors | R Documentation |
Helper to convert columns to factors if they aren't already
.convert_to_factors(model_data, vars_in_model, verbose = TRUE)
model_data |
Model data |
vars_in_model |
variables specified for contrast coding from formulas |
verbose |
Should messages be sent? Defaults to TRUE |
model_data with specified columns coerced to factors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.