Gets the number of simulations (iterations * chains) of an MCMC object.

The default methods returns the product of nchains() and niters().

nsims(x, ...)

# S3 method for default
nsims(x, ...)

Arguments

x

An object.

...

Other arguments passed to methods.

Value

An integer scalar of the number of simulations.

See also

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