mcmcParams {CNPBayes} | R Documentation

## Retrieve MCMC parameters from model.

### Description

View number of iterations, burnin, etc.

Replace number of iterations, burnin, etc. Any update of the MCMC parameters will trigger an update of the chains. However, if iter (the number of MCMC iterations) is set to a nonpositive value, the chains will not be updated and kept as is.

### Usage

    mcmcParams(object)

    mcmcParams(object) <- value

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

    ## S4 replacement method for signature 'MixtureModel,ANY'
    mcmcParams(object) <- value

    ## S4 replacement method for signature 'list,ANY'
    mcmcParams(object) <- value

    ## S4 method for signature 'list'
    mcmcParams(object)

    ## S4 replacement method for signature 'TrioBatchModel,ANY'
    mcmcParams(object) <- value

### Arguments

`object` | see `showMethods(mcmcParams)`
`value` | an object of class 'McmcParams' containing the new number of iterations, etc.
`force` | logical value. If false (default) the update will not proceed.

### Value

An object of class 'McmcParams'

### Examples

         mcmcParams(SingleBatchModelExample)

[Package CNPBayes version 1.13.5 Index]