Learn R Programming

nlist (version 0.4.0)

nchains.nlist: Number of Terms

Description

Gets the number of terms of an MCMC object.

Usage

# S3 method for nlist
nchains(x, ...)

Value

A integer scalar of the number of terms.

Arguments

x

An object.

...

Other arguments passed to methods.

Details

Always 1L.

See Also

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

Examples

Run this code
nchains(nlist(x = 1:2))

Run the code above in your browser using DataLab