Learn R Programming

mcmcr (version 0.6.1)

nchains.mcarray: Number of Chains

Description

Gets the number of chains of an MCMC object.

Usage

# S3 method for mcarray
nchains(x, ...)

Arguments

x

An object.

...

Other arguments passed to methods.

Value

An integer scalar of the number of chains.

See Also

Other MCMC dimensions: niters(), npars(), nsams(), nsims(), nterms()