nchain: Dimensions of MCMC objects

nchainR Documentation

Dimensions of MCMC objects

Description

These functions give the dimensions of an MCMC object

niter(x)

returns the number of iterations.

nvar(x)

returns the number of variables.

nchain(x)

returns the number of parallel chains.

Usage

niter(x)
nvar(x)
nchain(x)

Arguments

x

An mcmc or mcmc.list object

Value

A numeric vector of length 1:

See Also

mcmc, mcmc.list,


coda documentation built on May 29, 2024, 11:23 a.m.

Related to nchain in coda...