View source: R/functions_annex.R
getvarnames | R Documentation |
'getvarnames' is used to get all variable names from a regression model
getvarnames(formula, data = NULL)
formula |
the formula from which to extract variable names |
data |
data frame with variables from the formula |
'getvarnames' returns a list with 'varnames' (referring to all variable names), 'xvar' (referring to the predictors), and 'yvar' (referring to the outcome)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.