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)nothing, but throws an error if a variable is of an unknown class
a data.frame
a formula
a formula
a one-sided formula
a character string (name of the time variable, used in joint models)
logical, if TRUE messages are printed
used in model_imp (2020-06-09)