Learn R Programming

insight (version 0.18.6)

get_call: Get the model's function call

Description

Returns the model's function call when available.

Usage

get_call(x)

Value

A function call.

Arguments

x

A fitted mixed model.

Examples

Run this code
data(mtcars)
m <- lm(mpg ~ wt + cyl + vs, data = mtcars)
get_call(m)

if (require("lme4")) {
  m <- lmer(Sepal.Length ~ Sepal.Width + (1 | Species), data = iris)
  get_call(m)
}

Run the code above in your browser using DataLab