nsims.nlists | R Documentation |
Gets the number of simulations (iterations * chains) of an MCMC object.
The default methods returns the product of nchains()
and niters()
.
## S3 method for class 'nlists'
nsims(x, ...)
x |
An object. |
... |
Other arguments passed to methods. |
An integer scalar of the number of simulations.
Other MCMC dimensions:
nchains()
,
niters()
,
npars()
,
nsams()
,
nterms()
nsims(nlists(nlist(x = c(2, 9)), nlist(x = c(1, 7))))
nsims(split_chains(nlists(nlist(x = c(2, 9)), nlist(x = c(1, 7)))))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.