Description Usage Arguments See Also Examples
Extract the levels of factors used for random effects in
MCMCglmm
objects
1 | ranefLevels(object, data, ...)
|
object |
An |
data |
The dataset used for the model |
... |
Not currently used |
paramNamesMCMCglmm
,
ranef.MCMCglmm
1 2 3 4 5 6 7 8 9 | ## 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.