extract_random_effects: Extract random effects from formula

View source: R/extract_functions.R

extract_random_effectsR Documentation

Extract random effects from formula

Description

Extract random effects from formula

Usage

extract_random_effects(formula)

Arguments

formula

an object of class "formula", either the formula for the model of interest, the imputation model or the missingness model.

Value

A list containing "reff_vars", the random effect variables, and "reff", the entire random effect term.


inlamemi documentation built on Oct. 31, 2024, 5:08 p.m.