powered by
Gets the number of simulations (iterations * chains) of an MCMC object.
The default methods returns the product of nchains() and niters().
nchains()
niters()
nsims(x, ...)# S3 method for default nsims(x, ...)
# S3 method for default nsims(x, ...)
An object.
Other arguments passed to methods.
An integer scalar of the number of simulations.
Other MCMC dimensions: nchains(), niters(), npars(), nsams(), nterms()
npars()
nsams()
nterms()
# NOT RUN { nsims.foobar <- function(x, ...) { niters(x, ...) * nchains(x, ...) } # }
Run the code above in your browser using DataLab