run_series_meta
inherits the arguments data
,
measure
, model
, assumption
, heter_prior
,
mean_misspar
, and var_misspar
from run_model
(now contained in the argument full
). This prevents specifying
a different Bayesian model from that considered in run_model
.
Therefore, the user needs first to apply run_model
, and then
use run_series_meta
(see 'Examples').
For a binary outcome, when measure
is "RR" (relative risk) or "RD"
(risk difference) in run_model
, run_series_meta
currently performs a series of pairwise meta-analysis using the odds ratio
as effect measure for being the base-case effect measure in
run_model
for a binary outcome (see also 'Details' in
run_model
).
run_series_meta
runs a series of Bayesian pairwise meta-analyses
in JAGS
. The progress of the simulation appears on the R console.
The number of times the function is used is also printed on the console
(in red) and is equal to the number of observed pairwise comparisons
in the network (see 'Examples').
The model is updated until convergence using the
autojags
function of the R-package
R2jags with 2 updates and
number of iterations and thinning equal to n_iter
and n_thin
,
respectively.
The output of run_series_meta
is not end-user-ready. The
series_meta_plot
function inherits the output of
run_series_meta
as an S3 object and processes it further to provide
an end-user-ready output.
run_series_meta
can be used only for a network of interventions.
In the case of two interventions, the execution of the function will
be stopped and an error message will be printed on the R console.