Skip to contents

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.