mvrm2mcmc {BNSP} | R Documentation |
Convert posterior samples from function mvrm
into an object of class ‘mcmc’
Description
Reads in files where the posterior samples were written and creates an object of class
‘mcmc’ so that functions like summary
and plot
from package coda
can be used
Usage
mvrm2mcmc(mvrmObj, labels)
Arguments
mvrmObj |
An object of class ‘mvrm’ as created by a call to function |
labels |
The labels of the files to be read in. These can be one or more of: "alpha", "beta", "gamma", "delta", "sigma2", "cbeta", "calpha", "R", "muR", "sigma2R", "nmembers", "nmembersV", "compAlloc", "compAllocV", and "DPconc" and they correspond to the parameters of the model that a call to functions |
Value
An object of class ‘mcmc’ that holds the samples from the posterior of the selected parameter.
Author(s)
Georgios Papageorgiou gpapageo@gmail.com
See Also
Examples
#see \code{mvrm} example