nchains.nlist: Number of Terms

View source: R/nchains.R

nchains.nlistR Documentation

Number of Terms

Description

Gets the number of terms of an MCMC object.

Usage

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

Arguments

x

An object.

...

Other arguments passed to methods.

Details

Always 1L.

Value

A integer scalar of the number of terms.

See Also

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

Examples

nchains(nlist(x = 1:2))

nlist documentation built on June 8, 2025, 9:41 p.m.