nchains.mcmc.listR Documentation

Number of Chains

Description

Gets the number of chains of an MCMC object.

Usage

## S3 method for class 'mcmc.list'
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()