Learn R Programming

dclone (version 2.3-2)

parUpdate: 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, ...)

Value

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

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

Author

Peter Solymos, solymos@ualberta.ca

See Also

update.jags

See example on help page of parCodaSamples.