get_nranef {JointAI} | R 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 |
Value
a list by grouping level (idvar
) with a named vector of the number
of random effects per variable (=names).
[Package JointAI version 1.0.6 Index]