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


Search within the CNPBayes package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.