powered by
Gets the number of chains of an MCMC object.
nchains(x, ...)# S3 method for nlist nchains(x, ...)# S3 method for nlists nchains(x, ...)
# S3 method for nlist nchains(x, ...)
# S3 method for nlists nchains(x, ...)
An MCMC object
Unused
A count indicating the number of MCMC chains
nlist: Number of chains of an nlists_object.
nlist
Always 1L.
nlists: Number of chains of an nlists_object.
nlists
# NOT RUN { nchains(nlist(x = 1:2)) nchains(nlists(nlist(x = c(2, 9)), nlist(x = c(1, 7)))) nchains(split_chains(nlists(nlist(x = c(2, 9)), nlist(x = c(1, 7))))) # }
Run the code above in your browser using DataLab