niters.nlist: Number of Iterations

Description Usage Arguments Details Value See Also Examples

View source: R/niters.R

Description

Gets the number of iterations (in a chain) of an MCMC object.

Usage

1
2
## S3 method for class 'nlist'
niters(x, ...)

Arguments

x

An object.

...

Other arguments passed to methods.

Details

Always 1.

Value

An integer scalar of the number of iterations.

See Also

Other MCMC dimensions: nchains(), npars(), nsams(), nsims(), nterms()

Examples

1
niters(nlist(x = 1:2))

nlist documentation built on Sept. 5, 2021, 6:05 p.m.