paramNamesMCMCglmm {broom.mixed} | R Documentation |
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, ...)
Arguments
object |
An |
... |
not used |
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 |
See Also
fixef.MCMCglmm
, ranef.MCMCglmm
Examples
## Not run:
# 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)
## End(Not run)
[Package broom.mixed version 0.2.9.6 Index]