get_predictors {insight} | R Documentation |
Get the data from model predictors
Description
Returns the data from all predictor variables (fixed effects).
Usage
get_predictors(x, verbose = TRUE)
Arguments
x |
A fitted model. |
verbose |
Toggle messages and warnings. |
Value
The data from all predictor variables, as data frame.
Examples
m <- lm(mpg ~ wt + cyl + vs, data = mtcars)
head(get_predictors(m))
[Package insight version 0.20.2 Index]