The GeMTC R package enables Bayesian network meta-analysis (Mixed Treatment Comparisons, MTC) in R. Network meta-analysis models are generated and then run using the MCMC software of your choice:
- JAGS (using the
- OpenBUGS (using the
- WinBUGS (using the
You need to have one of these packages and the MCMC software installed to be able to use GeMTC.
The manual and changelog are available on CRAN and the source code on GitHub:
To install the gemtc R package, use the following command in R:
GeMTC datasets (networks) can be generated from ordinary R dataframes. Alternatively, the R package can read and write the GeMTC XML format used by GeMTC GUI for dichotomous or continuous data. Consistency, node-splitting, and unrelated mean effects models are currently supported. Other inconsistency models may be added later on.
Networks, models, and results can be summarized and visualized using
Convergence diagnostics, summaries and density plots of the results are provided by the coda package.
rank.probability functions to provide additional summaries of consistency models.
- van Valkenhoef, G., Lu, G., de Brock, B., Hillege, H., Ades, A. E., & Welton, N. J. (2012). Automating network meta-analysis. Research Synthesis Methods, 3(4), 285–299.
- van Valkenhoef, G., Tervonen, T., de Brock, B., & Hillege, H. (2012). Algorithmic Parameterization of Mixed Treatment Comparisons. Statistics and Computing, 22(5), 1099–1111.