Gets the number of chains of an MCMC object.

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