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