R/nchains.R
nchains.nlists.Rd
Gets the number of terms of an MCMC object.
# S3 method for class 'nlists' nchains(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()
nchains(nlists(nlist(x = c(2, 9)), nlist(x = c(1, 7)))) #> [1] 1 nchains(split_chains(nlists(nlist(x = c(2, 9)), nlist(x = c(1, 7))))) #> [1] 2