grab_response_formula: Grab the LHS formula from a model object

View source: R/grab_funs.R

grab_response_formulaR Documentation

Grab the LHS formula from a model object

Description

Grab the LHS formula from a model object

Usage

grab_response_formula(model)

Arguments

model

a model object such as lm, glm, merMod

Value

the left-hand side of a model's formula object

Examples

fit <- lm(Sepal.Width ~ Petal.Width, data = iris)
grab_response_formula(fit)

bsaul/geex documentation built on July 4, 2023, 6:40 p.m.