iter-method: Reset number of iterations.

Description Usage Arguments Details Value Examples

Description

This function changes the number of simulations.

This function retrieves the number of iterations of an MCMC simulation.

Usage

1
2
3
4
5
6
7
8
9
iter(object) <- value

iter(object)

## S4 replacement method for signature 'McmcParams,ANY'
iter(object) <- value

## S4 method for signature 'McmcParams'
iter(object)

Arguments

object

see showMethods(iter)

value

number of iterations to save after burnin

Details

The total number of iterations saved in the MultiBatch object is specified by the 'iter' parameter. If, for example, iter is set to 1000 and the thin parameter is set to 5, the MCMC will perform 5000 simulations but only 1000 will be saved.

Value

The number of MCMC iterations

Examples

1

scristia/CNPBayes documentation built on Aug. 9, 2020, 7:31 p.m.