Learn R Programming

geex (version 1.1.1)

grab_response_formula: Grab the LHS formula from a model object

Description

Grab the LHS formula from a model object

Usage

grab_response_formula(model)

Value

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

Arguments

model

a model object such as lm, glm, merMod

Examples

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

Run the code above in your browser using DataLab