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, ...)
An object.
Other arguments passed to methods.
An integer scalar of the number of simulations.