powered by
Gets the number of terms of an MCMC object.
# S3 method for nlists nterms(x, ...)
A integer scalar of the number of terms.
An object.
Other arguments passed to methods.
Other MCMC dimensions: nchains(), niters(), npars(), nsams(), nsims()
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)) ))
Run the code above in your browser using DataLab