Update the Markov chain associated with the model.
## S3 method for class 'jags' update(object, n.iter=1, by, progress.bar, ...)
number of iterations of the Markov chain to run
refresh frequency for progress bar. See Details
type of progress bar. Possible values are
additional arguments to the update method (ignored)
Since MCMC calculations are typically long, a progress bar is
displayed during the call to
update. The type of progress bar
is determined by the
progress.bar argument. Type
is displayed on the R console. Type
"gui" is a graphical
progress bar in a new window. The progress bar is suppressed if
NULL, if the update is
less than 100 iterations, or if R is not running interactively.
The default progress bar type is taken from the option
The progress bar is refreshed every
by iterations. The
update can only be interrupted when the progress bar is refreshed.
Therefore it is advisable not to set
by to a very large
value. By default
by is either
whichever is smaller.
update method for
jags model objects modifies the
original object and returns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.