nsims: Number of Simulations

View source: R/nsims.R

nsimsR Documentation

Number of Simulations

Description

Gets the number of simulations (iterations * chains) of an MCMC object.

The default methods returns the product of nchains() and niters().

Usage

nsims(x, ...)

## Default S3 method:
nsims(x, ...)

Arguments

x

An object.

...

Other arguments passed to methods.

Value

An integer scalar of the number of simulations.

See Also

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


universals documentation built on Sept. 22, 2022, 5:07 p.m.