nterms.nlists | R Documentation |
Gets the number of terms of an MCMC object.
## S3 method for class 'nlists'
nterms(x, ...)
x |
An object. |
... |
Other arguments passed to methods. |
A integer scalar of the number of terms.
Other MCMC dimensions:
nchains()
,
niters()
,
npars()
,
nsams()
,
nsims()
nterms(nlists(nlist(x = 1:3)))
nterms(nlists(
nlist(y = 3, zz = matrix(2:5, 2)),
nlist(y = 5, zz = matrix(1:4, 2))
))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.