mcmcParams-method: Retrieve MCMC parameters from model.

Description Usage Arguments Value Examples

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
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

1

CNPBayes documentation built on May 6, 2019, 4:06 a.m.