formulaBuild: Clean formula

View source: R/helpers.R

formulaBuildR Documentation

Clean formula

Description

a function to modify the formula for a merMod object to create a model matrix with all predictor terms in both the group level and fixed effect level

Usage

formulaBuild(model)

Arguments

model

a merMod object from lme4

Value

a formula object


merTools documentation built on Sept. 9, 2025, 5:28 p.m.