Gets the number of chains of an MCMC object.

# 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()