View source: R/helpfunctions_formulas.R
| extract_lhs_varnames | R Documentation |
This internal helper function extracts variable names from the left-hand
side (LHS) of a formula or a list of formulas. It supports standard formulas,
survival objects, transformations (e.g., log(x)), and multivariate outcomes
(e.g., cbind(a, b, c)).
extract_lhs_varnames(formula)
formula |
A formula object, a list of formulas, or |
A character vector of variable names from the LHS of the formula,
or a list of such vectors if a list of formulas is provided.
Returns NULL if the input is NULL.
extract_lhs_string()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.