Learn R Programming

universals (version 0.0.5)

nsims: 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, ...)

# S3 method for default nsims(x, ...)

Value

An integer scalar of the number of simulations.

Arguments

x

An object.

...

Other arguments passed to methods.

See Also

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