Create a JAGS backend using rjags
SBC_backend_rjags(
file,
n.iter,
n.burnin,
variable.names,
thin = 1,
na.rm = TRUE,
...
)model file or connection to model code (passed to rjags::jags.model())
number of iterations for sampling (passed to [rjags::coda.samples())
number of iterations used for burnin
names of variables to monitor (passed to rjags::coda.samples())
thinning (passed to rjags::coda.samples())
whether to omit variables containing NA (passed to rjags::coda.samples())
additional optional arguments passed to rjags::jags.model()
most notably n.chains, n.adapt and inits.