ranef {randomLCA} | R 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))
[Package randomLCA version 1.1-3 Index]