predictor_vars | R Documentation |
If the object inherits from a data.frame
then it is assumed the
response is in the first column.
predictor_vars(object)
object |
that inherits from a data.frame or terms object |
vector of predicts
fit <- lm(mpg ~ .^2, data=mtcars) predictor_vars(fit) predictor_vars(mtcars)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.