ranefLevels: Extract the levels of factors used for random effects in...

View source: R/MCMCglmm_tidiers.R

ranefLevelsR 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 MCMCglmm model object

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)

broom.mixed documentation built on Oct. 16, 2024, 1:06 a.m.