Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

## [16c8b4]: man / coda.samples.Rd Maximize Restore History

### coda.samples.Rd    25 lines (24 with data), 752 Bytes

  1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 \name{coda.samples} \alias{coda.samples} \title{Generate posterior samples in mcmc.list format} \description{ This is a wrapper function for \code{jags.samples} which sets a trace monitor for all requested nodes, updates the model, and coerces the output to a single \code{mcmc.list} object. } \usage{ coda.samples(model, variable.names, n.iter, thin = 1) } \arguments{ \item{model}{a jags model object} \item{variable.names}{a character vector giving the names of variables to be monitored} \item{n.iter}{number of iterations to monitor} \item{thin}{thinning interval for monitors} } \value{ An \code{mcmc.list} object. } \author{Martyn Plummer} \seealso{\code{\link{jags.samples}}, \code{\link[coda]{mcmc.list}}} \keyword{models}