Package: mlumr
Title: Multilevel Unanchored Meta-Regression for Indirect Treatment
        Comparisons
Version: 0.2.0
Authors@R: c(
    person("Ahmad", "Sofi-Mahmudi", , "a.sofimahmudi@gmail.com", role = c("aut", "cre"),
           comment = c(ORCID = "0000-0001-6829-0823")),
    person("Conor", "Chandler", role = "aut",
           comment = c(ORCID = "0000-0002-1365-9002")))
Description: 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, count, and
    time-to-event (survival) outcomes via 'Stan', including parametric and
    flexible M-spline survival baselines. Also provides a one-arm simulated
    treatment comparison (STC) via comparator-population 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 uses familiar
    names for data setup, integration and effect summaries, but ML-NMR and
    ML-UMR specifications and fitted objects are not interchangeable because
    their evidence structures and models differ.
License: GPL-3
URL: https://github.com/choxos/mlumr, https://choxos.github.io/mlumr/
BugReports: https://github.com/choxos/mlumr/issues
Encoding: UTF-8
LazyData: true
LazyDataCompression: xz
Biarch: true
Depends: R (>= 4.1.0)
Imports: methods, stats, Rcpp (>= 0.12.0), RcppParallel (>= 5.0.1),
        rstan (>= 2.26.0), rstantools (>= 2.3.0), randtoolbox, survival
        (>= 3.1-0), splines2 (>= 0.4.1), ggplot2 (>= 3.4.0)
LinkingTo: BH (>= 1.66.0), Rcpp (>= 0.12.0), RcppEigen (>= 0.3.3.3.0),
        RcppParallel (>= 5.0.1), rstan (>= 2.26.0), StanHeaders (>=
        2.26.0)
Suggests: testthat (>= 3.2.0), ggsurvfit, knitr, rmarkdown, posterior,
        bayesplot, loo, Matrix, cmdstanr, withr, flexsurv,
        detectseparation, xfun, R.rsp
Additional_repositories: https://mc-stan.org/r-packages
SystemRequirements: GNU make
Config/testthat/edition: 3
VignetteBuilder: knitr, R.rsp
Config/roxygen2/version: 8.1.0
NeedsCompilation: yes
Packaged: 2026-10-13 03:13:51 UTC; choxos
Author: Ahmad Sofi-Mahmudi [aut, cre] (ORCID:
    <https://orcid.org/0000-0001-6829-0823>),
  Conor Chandler [aut] (ORCID: <https://orcid.org/0000-0002-1365-9002>)
Maintainer: Ahmad Sofi-Mahmudi <a.sofimahmudi@gmail.com>
Repository: CRAN
Date/Publication: 2026-10-13 08:30:15 UTC
Built: R 4.5.3; x86_64-w64-mingw32; 2026-10-13 23:52:03 UTC; windows
Archs: x64
