get_predictors: Get the data from model predictors

View source: R/get_predictors.R

get_predictorsR 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))

easystats/insight documentation built on Dec. 14, 2024, 12:34 p.m.