Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project!

## [9ff07d]: man / jags.object.Rd Maximize Restore History

  1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 \name{jags.object} \alias{update.jags} \alias{coef.jags} \title{Functions for manipulating jags model objects} \description{ A \code{jags} object represents a Bayesian graphical model described using the BUGS language. } \usage{ \method{update}{jags}(object, niter=1, by, \ldots) \method{coef}{jags}(object, chain=1, \ldots) } \arguments{ \item{object}{a \code{jags} model object} \item{niter}{number of iterations to update the model} \item{by}{update frequency for progress bar. See Details} \item{chain}{chain number to query} \item{\ldots}{additional arguments to the call (ignored)} } \value{ These are methods for generic functions applied to \code{jags} model objects. The \code{update} function update all samplers associated with the model by the given number of iterations. This function modifies the original object and invisibly returns \code{NULL}. The \code{coef} function returns a list with an entry for each Node array that contains an unobserved Node. Elements corresponding to observed Nodes or deterministic Nodes are given missing values. } \details{ Since MCMC calculations are typically long, a progress bar is displayed during the call to \code{update}. The progress bar is refreshed every \code{by} iterations. If R is not being used interactively then the progress bar is suppressed. } \author{Martyn Plummer} \keyword{models}