Skip to contents

Fit an MCMC model to a dataset, capture and log JAGS messages

Usage

.autorunJagsAndCaptureOutput(
  data,
  modelString,
  monitor,
  inits = NULL,
  returnClass = "binomialModel",
  max.time = 600,
  ...
)

Arguments

data

the JAGS data list

modelString

The JAGS model string

monitor

a vector of names of parameters to monitor

inits

the inits used by the JAGS model

returnClass

the class to prepend to the class of the tab element of of the returned value

max.time

the maximum time allowed for the model fitting,

...

other parameters passed to autorun.jags