R/nsims.R
nsims.nlist.Rd
Gets the number of simulations (iterations * chains) of an MCMC object.
The default methods returns the product of nchains() and niters().
nchains()
niters()
# S3 method for class 'nlist' nsims(x, ...)
An object.
Other arguments passed to methods.
An integer scalar of the number of simulations.
Always 1L.
Other MCMC dimensions: nchains(), niters(), npars(), nsams(), nterms()
npars()
nsams()
nterms()
nsims(nlist(x = 1:2)) #> [1] 1