burnin {CNPBayes}R Documentation

Number of burnin iterations.

Description

This function retrieves the number of burnin simulations to be discarded.

This function changes the number of burnin simulations to be discarded.

Usage

burnin(object)

burnin(object) <- value

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

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

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

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

Arguments

object

see showMethods(burnin)

value

new number of burnin iterations

Value

The number of burnin simulations.

Examples

burnin(SingleBatchModelExample)
mp <- mcmcParams(SingleBatchModelExample)
burnin(mp)

[Package CNPBayes version 1.13.5 Index]