Usage
## S3 method for class 'jagsUI':
update(object, parameters.to.save=NULL, n.adapt=0,
n.iter, n.thin=NULL, modules=c('glm'), seed=floor(runif(1,1,10000)),
codaOnly=FALSE, verbose=TRUE, ...)Arguments
object
A jagsUI-class object to update.
parameters.to.save
Character vector of the names of the
parameters in the model which should be monitored. Defaults to the saved parameter set from the original model run.
n.adapt
Number of iterations to run in the JAGS adaptive phase.
n.iter
Number of iterations to update for each chain.
n.thin
Thinning rate. Must be a positive integer. Defaults to the thinning rate of the original model run.
modules
List of JAGS modules to load before analysis. By default only module 'glm' is loaded (in addition to 'basemod' and 'bugs'). To force no additional modules to load, set modules=NULL.
seed
Set a custom seed for the R random number generator and JAGS. The current state of the random number generator is saved in the output object.
codaOnly
Optional character vector of parameter names for which you do NOT want to calculate detailed statistics. This may be helpful when you have many output parameters (e.g., predicted values) and you want to save time. For these parameters, only the mean value
verbose
If set to FALSE, all text output in the console will be suppressed as the function runs (including most warnings).
...
Further arguments pass to or from other methods.