insight (version 0.11.0)

get_predictors: Get the data from model predictors

Description

Returns the data from all predictor variables (fixed effects).

Usage

get_predictors(x)

Arguments

x

A fitted model.

Value

The data from all predictor variables, as data frame.

Examples

Run this code
# NOT RUN {
m <- lm(mpg ~ wt + cyl + vs, data = mtcars)
head(get_predictors(m))
# }

Run the code above in your browser using DataLab