iter<- {CNPBayes} | R Documentation

## Reset number of iterations.

### Description

This function changes the number of simulations.

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

### Usage

    iter(object, force = FALSE) <- value

    iter(object)

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

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

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

    ## S4 replacement method for signature 'MixtureModel'
    iter(object, force = FALSE) <- value

### Arguments

`object` | see `showMethods(iter)`
`force` | Allow changing of the size of the elements?
`value` | new number of iterations

### Value

The number of MCMC iterations

### Examples

         iter(SingleBatchModelExample)

[Package CNPBayes version 1.12.0 Index]