View source: R/helpfunctions_checks.R
| check_data | R Documentation |
Wrapper function to check that
all used variables are present in the data
that the classes of the variables are of a type for which default model types are defined
checks for empty variable levels
converts binary continuous variables and logical variables to factors
check_data(data, fixed, random, auxvars, timevar, mess, warn)
data |
a |
fixed |
a |
random |
a one-sided |
auxvars |
a one-sided |
timevar |
a character string (name of the time variable, used in joint models) |
mess |
logical, if |
warn |
logical, if |
used in model_imp() (2025-09-04)
the cleaned data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.