broom.mixed (version 0.2.4)

ranefLevels: 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 MCMCglmm model object

data

The dataset used for the model

Not currently used

See Also

paramNamesMCMCglmm, ranef.MCMCglmm

Examples

Run this code
# 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)
# }

Run the code above in your browser using DataLab