chains {CNPBayes} | R Documentation |
The method chains
applied to a MixtureModel
-derived
class will return an object of class McmcChains
that
contains the chains for all simulated parameters. Typically, chains
is called in conjunction with an accessor for one of these
parameters.
chains(object) ## S4 method for signature 'MixtureModel' chains(object)
object |
|
The simulated chains.
theta.chain <- theta(chains(MultiBatchModelExample)) dim(theta.chain) plot.ts(theta.chain, plot.type="single", col=seq_len(k(SingleBatchModelExample)))