grab_response_formula {geex}R 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)

[Package geex version 1.1.1 Index]