Learn R Programming

rnmamod (version 0.5.0)

Bayesian Network Meta-Analysis with Missing Participants

Description

A comprehensive suite of functions to perform and visualise pairwise and network meta-analysis with aggregate binary or continuous missing participant outcome data. The package covers core Bayesian one-stage models implemented in a systematic review with multiple interventions, including fixed-effect and random-effects network meta-analysis, meta-regression, evaluation of the consistency assumption via the node-splitting approach and the unrelated mean effects model (original and revised model proposed by Spineli, (2022) ), and sensitivity analysis (see Spineli et al., (2021) ). Missing participant outcome data are addressed in all models of the package (see Spineli, (2019) , Spineli et al., (2019) , Spineli, (2019) , and Spineli et al., (2021) ). The robustness to primary analysis results can also be investigated using a novel intuitive index (see Spineli et al., (2021) ). Methods to evaluate the transitivity assumption using trial dissimilarities and hierarchical clustering are provided (see Spineli, (2024) , and Spineli et al., (2025) ). A novel index to facilitate interpretation of local inconsistency is also available (see Spineli, (2024) ) The package also offers a rich, user-friendly visualisation toolkit that aids in appraising and interpreting the results thoroughly and preparing the manuscript for journal submission. The visualisation tools comprise the network plot, forest plots, panel of diagnostic plots, heatmaps on the extent of missing participant outcome data in the network, league heatmaps on estimation and prediction, rankograms, Bland-Altman plot, leverage plot, deviance scatterplot, heatmap of robustness, barplot of Kullback-Leibler divergence, heatmap of comparison dissimilarities and dendrogram of comparison clustering. The package also allows the user to export the results to an Excel file at the working directory.

Copy Link

Version

Install

install.packages('rnmamod')

Monthly Downloads

258

Version

0.5.0

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Loukia Spineli

Last Published

June 13th, 2025

Functions in rnmamod (0.5.0)

distr_characteristics

Visualising the distribution of characteristics (Comparisons' comparability for transitivity evaluation)
data_preparation

Prepare the dataset in the proper format for R2jags
baseline_model

The baseline model for binary outcome
comp_clustering

End-user-ready results for comparison dissimilarity and hierarchical clustering (Comparisons' comparability for transitivity evaluation)
covar_contribution_plot

Visualising study percentage contributions against a covariate
forestplot

Comparator-specific forest plot for network meta-analysis
describe_network

A function to describe the evidence base
bland_altman_plot

The Bland-Altman plot
forestplot_juxtapose

Forest plot of juxtaposing several network meta-analysis models
gower_distance

Weighted Gower's dissimilarity measure (Trials' comparability for transitivity evaluation)
heatmap_missing_dataset

Heatmap of proportion of missing participants in the dataset
heatmap_robustness

Heatmap of robustness
heterogeneity_param_prior

Determine the prior distribution for the heterogeneity parameter
heter_density_plot

Visualising the density of two prior distributions for the heterogeneity parameter
forestplot_metareg

Comparator-specific forest plot for network meta-regression
improved_ume

Detect the frail comparisons in multi-arm trials
heatmap_missing_network

Heatmap of proportion of missing participants in the network
inconsistency_variance_prior

Function for the hyper-parameters of the prior distribution of the inconsistency variance (network meta-analysis with random inconsistency effects)
internal_measures_plot

Internal measures for cluster validation (Comparisons' comparability for transitivity evaluation)
league_table_absolute

League table for relative and absolute effects
league_heatmap

League heatmap for estimation
kld_measure

Function for the Kullback-Leibler Divergence of two normally distributed treatment effects for the same pairwise comparison
kld_inconsistency_user

Density plots of local inconsistency results and Kullback-Leibler divergence (When dataset is created by the user)
kld_barplot

Barplot for the Kullback-Leibler divergence measure (missingness scenarios)
league_table_absolute_user

League table for relative and absolute effects (user defined)
netplot

Network plot
nma.baker2009

Pharmacological interventions for chronic obstructive pulmonary disease
intervalplot_panel_ume

A panel of interval plots for the unrelated mean effects model
missingness_param_prior

Define the mean value of the normal distribution of the missingness parameter
metareg_plot

End-user-ready results for network meta-regression
nma.bottomley2011

Pharmacological interventions for moderately severe scalp psoriasis
kld_inconsistency

Density plots of local inconsistency results and Kullback-Leibler divergence when 'rnmamod', 'netmeta' or 'gemtc' R packages are used
miss_characteristics

Visualising missing data in characteristics (Comparisons' comparability for transitivity evaluation)
nodesplit_plot

End-user-ready results for the node-splitting approach
plot_study_dissimilarities

Plot Gower's disimilarity values for each study (Transitivity evaluation)
prepare_model

WinBUGS code for Bayesian pairwise or network meta-analysis and meta-regression
prepare_nodesplit

WinBUGS code for the node-splitting approach
nma.liu2013

Antidepressants in Parkinson's disease
leverage_plot

Leverage plot
mcmc_diagnostics

Markov Chain Monte Carlo diagnostics
nma.malaria.donegan2018

Artemether, artesunate and quinine for severe malaria
nma.dogliotti2014

Oral antithrombotics for stroke episode
league_heatmap_pred

League heatmap for prediction
nma.stowe2011

Antiparkinsonian interventions for later Parkinson's disease
nma.fluoride.donegan2018

Topical fluoride interventions for preventing dental caries
pma.taylor2004

Inositol versus glucose for depressive episode
pma.hetrick2012

Paroxetine versus placebo for depressive disorders
nma.schwingshackl2014

Training modalities for patients with type 2 diabetes
run_sensitivity

Perform sensitivity analysis for missing participant outcome data
robustness_index

Robustness index
rnmamod-package

rnmamod: Bayesian Network Meta-analysis with Missing Participants
prepare_ume

WinBUGS code for the unrelated mean effects model
run_series_meta

Perform a series of Bayesian pairwise meta-analyses
run_nodesplit

Perform the node-splitting approach
run_model

Perform Bayesian pairwise or network meta-analysis
robustness_index_user

Robustness index when 'metafor' or 'netmeta' are used
run_ume

Perform the unrelated mean effects model
scatterplots_dev

Deviance scatterplots
rankosucra_plot

Rankograms and SUCRA curves
taylor_continuous

Pattern-mixture model with Taylor series for continuous outcome
run_metareg

Perform Bayesian pairwise or network meta-regression
study_perc_contrib

Calculate study percentage contributions to summary treatment effects or regression coefficients
scatterplot_sucra

Scatterplot of SUCRA values
ume_plot

End-user-ready results for the unrelated mean effects model
series_meta_plot

End-user-ready results for a series of pairwise meta-analyses
unrelated_effects_plot

End-user-ready results for unrelated trial effects model
table_tau2_prior

Predictive distributions for the between-study variance in a future meta-analysis on odds ratio or standardised mean difference
taylor_imor

Pattern-mixture model with Taylor series for a binary outcome
balloon_plot

Enhanced balloon plot
dendro_heatmap

Dendrogram with amalgamated heatmap (Comparisons' comparability for transitivity evaluation)