Learn R Programming

dclone (version 2.1-1)

parUpdate: Update jags models on parallel workers

Description

Update the Markov chain associated with the model on parallel workers.

Usage

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

Arguments

cl
A cluster object created by makeCluster, or an integer. It can also be NULL, see snowWrapper.
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.

See Also

update.jags

See example on help page of parCodaSamples.