ranef.ranks: Extract Random Effect Rank Distributions
Description
Extracts random effect rank distributions from a linear mixed-effects model.
Usage
"ranef.ranks"(model, groups)
Arguments
model
a linear mixed-effects model estimated using
lmer.
groups
a character vector of random effects of interest.
Value
If which is missing, a list of rank distribution vectors for all
random intercepts in the model.
Otherwise, a list of rank distribution vectors for random intercepts
specified by which.