parUpdate: Update jags models on parallel workers

View source: R/parUpdate.R

parUpdateR Documentation

Update jags models on parallel workers

Description

Update the Markov chain associated with the model on parallel workers. (This represents the 'burn-in' phase when nodes are not monitored.)

Usage

parUpdate(cl, object, n.iter=1, ...)

Arguments

cl

A cluster object created by makeCluster, or an integer. It can also be NULL, see parDosa.

object

character, name of a jags model object

n.iter

number of iterations of the Markov chain to run

...

additional arguments to the update method, see update.jags

Value

The parUpdate function modifies the original object on parallel workers and returns NULL.

Author(s)

Peter Solymos

See Also

update.jags

See example on help page of parCodaSamples.


datacloning/dclone documentation built on July 5, 2023, 5:26 a.m.