Learn R Programming

mcmcr (version 0.6.1)

niters.mcmcrs: Number of Iterations

Description

Gets the number of iterations (in a chain) of an MCMC object.

Usage

# S3 method for mcmcrs
niters(x, ...)

Arguments

x

An object.

...

Other arguments passed to methods.

Value

An integer scalar of the number of iterations.

See Also

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