R/nterms.R
nterms.nlist.Rd
Gets the number of terms of an MCMC object.
# S3 method for class 'nlist' nterms(x, ...)
An object.
Other arguments passed to methods.
A integer scalar of the number of terms.
Other MCMC dimensions: nchains(), niters(), npars(), nsams(), nsims()
nchains()
niters()
npars()
nsams()
nsims()
nterms(nlist(x = 2)) #> [1] 1 nterms(nlist(x = NA_real_)) #> [1] 1 nterms(nlist(x = 3, zz = matrix(2:5, 2))) #> [1] 5