broom.mixed (version 0.2.9.5)

paramNamesMCMCglmm: Extract the parameter names from an MCMCglmm object

Description

Simple function to extract the fixed and random effects parameter names from an MCMCglmm object.

Usage

paramNamesMCMCglmm(object, ...)

Value

A list with two elements:

fixed

A character vector of the fixed effects parameter names

random

A character vector of the random effects parameter names

Arguments

object

An MCMCglmm object

...

not used

See Also

fixef.MCMCglmm, ranef.MCMCglmm

Examples

Run this code
if (FALSE) {
  # a simple MCMCglmm model
  if (require(MCMCglmm)) {
     data(PlodiaPO)
     m <- MCMCglmm(PO ~ 1, random = ~ FSfamily, data = PlodiaPO, verbose=FALSE, pr=TRUE)
  }
  # extract the parameter names
  paramNamesMCMCglmm(m)
}

Run the code above in your browser using DataLab