NAPrior: Network Meta-Analytic Predictive Prior for Mid-Trial SoC Changes

Implements the Network meta-Analytic Predictive (NAP) prior framework to accommodate changes in the standard of care (SoC) during ongoing randomized controlled trials (RCTs). The method synthesizes pre- and post-change in-trial data by leveraging external evidence, particularly head-to-head trials comparing the original and new standards of care, to bridge the two evidence periods and enable principled borrowing. The package provides utilities to construct NAP-based priors and perform Bayesian inference for time-to-event endpoints using summarized trial evidence.

Version: 0.1.1
Depends: R (≥ 4.0)
Imports: stats, graphics, survival, R2jags, metafor, purrr, dplyr, tibble
Suggests: rjags, knitr, rmarkdown
Published: 2026-01-20
DOI: 10.32614/CRAN.package.NAPrior (may not be active yet)
Author: Chunyi Zhang [aut, cre]
Maintainer: Chunyi Zhang <czhang12 at mdanderson.org>
License: MIT + file LICENSE
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: NAPrior results

Documentation:

Reference manual: NAPrior.html , NAPrior.pdf
Vignettes: README (source, R code)

Downloads:

Package source: NAPrior_0.1.1.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=NAPrior to link to this page.