View source: R/MCMCglmm_tidiers.R
| ranefLevels | R Documentation | 
MCMCglmm objectsExtract the levels of factors used for random effects in MCMCglmm objects
ranefLevels(object, data, ...)
object | 
 An   | 
data | 
 The dataset used for the model  | 
... | 
 Not currently used  | 
paramNamesMCMCglmm, ranef.MCMCglmm
## 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.