extract_random_effects {inlamemi}R 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.


[Package inlamemi version 1.0.0 Index]