ranefLevels {broom.mixed} | R Documentation |
Extract the levels of factors used for random effects in MCMCglmm
objects
Description
Extract the levels of factors used for random effects in MCMCglmm
objects
Usage
ranefLevels(object, data, ...)
Arguments
object |
An |
data |
The dataset used for the model |
... |
Not currently used |
See Also
paramNamesMCMCglmm
, ranef.MCMCglmm
Examples
## Not run:
# a simple MCMCglmm model
data(PlodiaPO)
m <- MCMCglmm(PO ~ 1, random = ~ FSfamily, data = PlodiaPO, verbose=FALSE)
# extract the random effects levels
ranefLevels(m, PlodiaPO)
## End(Not run)
[Package broom.mixed version 0.2.9.5 Index]