nStarts-method: Number of MCMC chains.

Description Usage Arguments Value Examples

Description

This function retrieves the number of chains used for an MCMC simulation.

This function changes the number of chains used for an MCMC simulation.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
nStarts(object)

nStarts(object) <- value

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

## S4 replacement method for signature 'McmcParams'
nStarts(object) <- value

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

## S4 replacement method for signature 'MixtureModel'
nStarts(object) <- value

Arguments

object

see showMethods(nStarts)

value

new number of chains

Value

An integer of the number of different starts.

Examples

1
2
3
number_of_chains <- nStarts(MarginalModelExample)
number_of_chains <- 3
nStarts(MarginalModelExample) <- number_of_chains

CNPBayes documentation built on May 31, 2017, 2:57 p.m.