ranef: Extract random effects from a randomLCA object

ranefR Documentation

Extract random effects from a randomLCA object

Description

Extracts the Empirical Bayes estimates of the random effects.

Usage

## S3 method for class 'randomLCA'
ranef(object, ...)

Arguments

object

randomLCA object with a random effect

...

additional argument; currently none is used.

Value

A matrix with the first column containing the random effects and the second column the standard error of the random effects.

Author(s)

Ken Beath

Examples


pap.lca2random <- randomLCA(pap[, 1:10], freq = pap$Freq, random = TRUE, nclass = 2, cores = 1)
print(ranef(pap.lca2random))


randomLCA documentation built on July 9, 2023, 6:09 p.m.

Related to ranef in randomLCA...