View source: R/helpfunctions_checks.R
| check_classes | R Documentation |
Runs a check that all variables that are used in the model are of a known class (numeric, ordered, factor, logical, integer) so that type-appropriate models can be specified. Note: This function does not check the type of grouping variables, which may be character strings.
check_classes(data, fixed = NULL, random = NULL, auxvars = NULL,
timevar = NULL, mess = TRUE)
data |
a |
fixed |
a |
random |
a |
auxvars |
a one-sided |
timevar |
a character string (name of the time variable, used in joint models) |
mess |
logical, if |
used in model_imp (2020-06-09)
nothing, but throws an error if a variable is of an unknown class
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.