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
mcmcParams(object)

mcmcParams(object, force = FALSE) <- value

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

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

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

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

Arguments

object

see showMethods(mcmcParams)

force

logical value. If false (default) the update will not proceed.

value

an object of class 'McmcParams' containing the new number of iterations, etc.

Value

An object of class 'McmcParams'

Examples

1

CNPBayes documentation built on Nov. 1, 2018, 4:47 a.m.