View source: R/helpfunctions_checks.R
| check_vars_in_data | R Documentation |
Check that all variables in formulas are in the data
check_vars_in_data(datanames, fixed = NULL, random = NULL,
auxvars = NULL, timevar = NULL)
datanames |
a character vector (of all variable names in the data) |
fixed |
the fixed effects formula (or list of formulas) |
random |
the random effects formula (or list of formulas) |
auxvars |
one-sided formula of auxiliary variables |
timevar |
a character string (name of the time variable, used in joint models) |
nothing, but throws an error if a variable is missing
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.