powered by
Gets the number of iterations (in a chain) of an MCMC object.
# S3 method for nlists niters(x, ...)
An integer scalar of the number of iterations.
An object.
Other arguments passed to methods.
Other MCMC dimensions: nchains(), npars(), nsams(), nsims(), nterms()
nchains()
npars()
nsams()
nsims()
nterms()
niters(nlists(nlist(x = c(2, 9)), nlist(x = c(1, 7))))
Run the code above in your browser using DataLab