Last chance! 50% off unlimited learning
Sale ends in
Returns the data from all predictor variables (fixed effects).
get_predictors(x)
A fitted model.
The data from all predictor variables, as data frame.
# NOT RUN {
m <- lm(mpg ~ wt + cyl + vs, data = mtcars)
head(get_predictors(m))
# }
Run the code above in your browser using DataLab