Perform a meta-analysis of studies in which external control arms were
compared to internal control arms using rjags
. You can view the
ecmeta()
documentation for more general details.
ecmeta_jags( data, n_chains = 1, n_iter = 1000, thin = 1, n_burnin = 0, n_adapt = 1000, quiet = FALSE, prior_mu = normal(0, 100), prior_scale = invgamma(0.001, 0.001) )
data | A |
---|---|
n_chains | The number of parallel chains for the model. Passed to
|
n_iter | Number of iterations to monitor. Passed to |
thin | Thinning interval for monitors. Passed to |
n_burnin | Number of |
n_adapt | The number of iterations for adaptation. Passed to |
quiet | If |
prior_mu | Prior for |
prior_scale | Prior for the scale parameter, which is either |
An ecmeta_jags
object, which is a list containing the following elements:
A coda::mcmc.list
object containing samples of the model parameters.
The data
object.