Package: mlumr 0.1.0

Ahmad Sofi-Mahmudi

mlumr: Multilevel Unanchored Meta-Regression for Indirect Treatment Comparisons

Bayesian multilevel unanchored meta-regression (ML-UMR) for indirect treatment comparisons using individual patient data (IPD) and aggregate data (AgD). Implements shared prognostic factor assumption (SPFA) and relaxed SPFA models for binary, continuous, and count outcomes via 'Stan'. Also provides simulated treatment comparison (STC) via parametric G-computation and naive unadjusted benchmarks. ML-UMR is an adaptation of the ML-NMR methodology (Phillippo et al. 2020, <doi:10.1111/rssa.12579>) implemented in the 'multinma' package (GPL-3) to the unanchored two-trial case; the public API deliberately mirrors multinma's so users can move between ML-NMR and ML-UMR with the same workflow.

Authors:Ahmad Sofi-Mahmudi [aut, cre], Conor Chandler [aut]

mlumr_0.1.0.tar.gz
mlumr_0.1.0.tar.gz(r-4.7-arm64)mlumr_0.1.0.tar.gz(r-4.7-x86_64)mlumr_0.1.0.tar.gz(r-4.6-arm64)mlumr_0.1.0.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html
card.svg |card.png
mlumr/json (API)
NEWS

# Install 'mlumr' in R:
install.packages('mlumr', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/choxos/mlumr/issues

Pkgdown/docs site:https://choxos.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

2.78 score 8 scripts 30 exports 60 dependencies

Last updated from:5a8d1ccb0a. Checks:5 OK, 1 FAIL. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK601
linux-devel-x86_64OK616
source / vignettesOK932
linux-release-arm64OK627
linux-release-x86_64OK509
wasm-releaseFAIL276

Exports:add_integrationcalculate_diccalculate_loocalculate_waiccheck_integrationcombine_datacompare_modelsconditional_effectsconditional_predictdberndefault_prior_betadefault_prior_interceptdefault_prior_sigmadistrmarginal_effectsmlumrmlumr_enginenaivepbernprior_cauchyprior_exponentialprior_normalprior_sensitivityprior_student_tprior_summaryqbernset_agdset_ipdstcunnest_integration

Dependencies:abindADGofTestbackportsBHcallrcheckmatecliclustercolorspacecopulacpp11descdistributionalfarvergenericsggplot2gluegridExtragslgtableinlineisobandlabelinglatticelifecycleloomagrittrMatrixmatrixStatsmvtnormnumDerivpcaPPpillarpkgbuildpkgconfigposteriorprocessxpspsplineQuickJSRR6randtoolboxRColorBrewerRcppRcppEigenRcppParallelrlangrngWELLrstanrstantoolsS7scalesstabledistStanHeaderstensorAtibbleutf8vctrsviridisLitewithr

Comparing ML-UMR, STC, and Naive Methods

Rendered frommodel-comparison.Rmdusingknitr::rmarkdownon May 20 2026.

Last update: 2026-05-20
Started: 2026-05-20

Data Preparation and Integration

Rendered fromdata-preparation.Rmdusingknitr::rmarkdownon May 20 2026.

Last update: 2026-05-20
Started: 2026-05-20

Fitting ML-UMR Models

Rendered frommlumr-models.Rmdusingknitr::rmarkdownon May 20 2026.

Last update: 2026-05-20
Started: 2026-05-20

Introduction to mlumr

Rendered fromintroduction.Rmdusingknitr::rmarkdownon May 20 2026.

Last update: 2026-05-20
Started: 2026-05-20

STC and Naive Benchmarks

Rendered fromstc-and-naive.Rmdusingknitr::rmarkdownon May 20 2026.

Last update: 2026-05-20
Started: 2026-05-20

Worked Example: Complete Analysis

Rendered fromworked-example.Rmdusingknitr::rmarkdownon May 20 2026.

Last update: 2026-05-20
Started: 2026-05-20