modelVars | R Documentation |
extract predictor variables from a model
modelVars(model)
model |
a model, typically of class |
a vector of variable names
if (require(mosaicData)) {
model <- lm( wage ~ poly(exper, degree = 2), data = CPS85 )
modelVars(model)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.