chains-method: Retrieve simulated chains from model object.

Description Usage Arguments Value Examples

Description

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.

Usage

1
2
3
4
chains(object)

## S4 method for signature 'MixtureModel'
chains(object)

Arguments

object

showMethods(chains)

Value

The simulated chains.

Examples

1
2
3
4
    theta.chain <- theta(chains(MultiBatchModelExample))
    dim(theta.chain)
    plot.ts(theta.chain, plot.type="single",
            col=seq_len(k(SingleBatchModelExample)))

CNPBayes documentation built on May 6, 2019, 4:06 a.m.