View source: R/helpfunctions_formulas_general.R
| check_formula_list | R Documentation |
Check if an object is NULL, a formula, or a list of formulas and (optionally)
convert it to a list of formulas. If the input is of unknown type or if it
is a list that has entries that are neither formula nor NULL, an error
is thrown.
check_formula_list(formula, convert = TRUE)
formula |
An object expected to be either a formula, a list of formulas,
or |
convert |
Logical; if |
Internal function; used in many help functions, get_refs, *_imp, predict (2022-02-05)
A named list of formula (and/or NULL) objects, or NULL. If
convert is FALSE, a single formula is returned as-is.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.