View source: R/MCMCglmm_tidiers.R
paramNamesMCMCglmm | R Documentation |
MCMCglmm
objectSimple function to extract the fixed and random effects
parameter names from an MCMCglmm
object.
paramNamesMCMCglmm(object, ...)
object |
An |
... |
not used |
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 |
fixef.MCMCglmm
, ranef.MCMCglmm
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.