get_nranef: Extract the number of random effects

View source: R/helpfunctions_vcov.R

get_nranefR Documentation

Extract the number of random effects

Description

Extract the number of random effects

Usage

get_nranef(idvar, random, data)

Arguments

idvar

vector of the names of all id variables

random

a random effect formula or list of random effects formulas

data

a data.frame

Value

a list by grouping level (idvar) with a named vector of the number of random effects per variable (=names).


JointAI documentation built on June 22, 2024, 11:08 a.m.