Bayesian EXNEX Models for Survival Analysis in Basket Trials
Overview
Implements the Bayesian Exchangeable Non-Exchangeable (EXNEX) framework for right-censored log-normal survival data in basket trials. Based on 'Rcpp' and 'RcppArmadillo', the package provides a fast Gibbs sampler supporting EXNEX, complete pooling, and no pooling models to facilitate methodological comparisons and simulation studies.
- New inference and model-selection tools (all in pure R, no changes to the validated C++ sampler):
survival_curves()computes posterior survival curvesS(t)(withplot.survival_exnex()for plotting);median_survival()returns posterior median survival times;rmst()returns the restricted mean survival time up to a horizon;compute_waic()/compare_waic()provide WAIC model comparison;probability_superiority()estimates the posterior probability that one group beats another on median, survival probability, or RMST;simulate_data()generates log-normal basket-trial datasets (with resistant baskets) for studies and examples.- New vignette *Tools for Experimenters* covering these utilities.
From NEWS.md in the release
Install
Health
- OK13 OKNow
- OK6 OK2026-09-11
Documentation
- Help pages
- 22 (10 internal)includes a package overview page
- Examples that run
- 100%1 run in a plain check
- Exported functions with examples
- 13%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 5%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- not measured
6 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/victorney/exnexsurv on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-09-12 · The repository has a site deploy workflow
pkgdown site last built 2026-09-12
Dependencies
Installing exnexSurv adds 16 packages (12 with compiled code, 7.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppArmadillo 1.0 MB, vctrs 1.0 MB.
Code & Tests
People & History
- 1.3.0Latest2026-09-10 · current release
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-09-10
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 291 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("exnexSurv")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.