Package: exnexSurv 1.4.0

Victor Ney

exnexSurv: Bayesian EXNEX Models for Survival Analysis in Basket Trials

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.

Authors:Victor Ney [aut, cre]

exnexSurv_1.4.0.tar.gz
exnexSurv_1.4.0.zip(r-4.7-x86_64)exnexSurv_1.4.0.zip(r-4.7-arm64)exnexSurv_1.4.0.zip(r-4.6-x86_64)exnexSurv_1.4.0.zip(r-4.6-arm64)exnexSurv_1.4.0.zip(r-4.5-x86_64)
exnexSurv_1.4.0.tgz(r-4.6-x86_64)exnexSurv_1.4.0.tgz(r-4.6-arm64)exnexSurv_1.4.0.tgz(r-4.5-x86_64)exnexSurv_1.4.0.tgz(r-4.5-arm64)
exnexSurv_1.4.0.tar.gz(r-4.7-arm64)exnexSurv_1.4.0.tar.gz(r-4.7-x86_64)exnexSurv_1.4.0.tar.gz(r-4.6-arm64)exnexSurv_1.4.0.tar.gz(r-4.6-x86_64)
exnexSurv_1.4.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
exnexSurv/json (API)

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

Bug tracker:https://github.com/victorney/exnexsurv/issues

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

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library

On CRAN:

Conda:

openblascppopenmp

5.14 score 11 scripts 342 downloads 13 exports 24 dependencies

Last updated from:29d927f8c5. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK142
linux-devel-x86_64OK166
source / vignettesOK311
linux-release-arm64OK155
linux-release-x86_64OK151
macos-release-arm64OK194
macos-release-x86_64OK266
macos-oldrel-arm64OK214
macos-oldrel-x86_64OK402
windows-devel-arm64OK410
windows-devel-x86_64OK155
windows-release-arm64OK424
windows-release-x86_64OK140
windows-oldrel-x86_64OK117
wasm-releaseOK112

Exports:compare_waiccompute_waicconvergence_diagnosticsexnex_survmedian_survivalpooling_survposterior_predictive_checkprobability_superiorityrank_probabilitiesrmstshrinkage_plotsimulate_datasurvival_curves

Dependencies:backportscheckmateclicodetoolsdigestfuturefuture.applyglobalsgluehardhatlifecyclelistenvmagrittrparallellypillarpkgconfigprogressrRcppRcppArmadillorlangsparsevctrstibbleutf8vctrs

Getting Started with exnexSurv
Overview | Simulate a simple dataset | Fit the model with a formula | Run multiple chains in parallel | Fit the model with x and y | Fit a model without covariates | Basic posterior summaries | Inspecting the resolved priors | Notes

Last update: 2026-09-12
Started: 2026-08-22

Convergence and Diagnostics
Overview | Simulate data | Fit multiple chains | Traceplots | Running means | Simple numerical diagnostics | Repeat the fit with different seeds | Interpretation

Last update: 2026-09-11
Started: 2026-08-22

Running chains in parallel
The parallel_chains flag | Progress reporting | Requirements

Last update: 2026-09-11
Started: 2026-08-22

The EXNEX Model, Priors, and Data Augmentation
Introduction | The model | Priors and how to customize them | Pooling variants | Data augmentation | The Gibbs sampler | What is fitted and what is returned | Worked example: selective borrowing | Customizing the non-exchangeable prior per basket | Comparing EXNEX, EX (approx.), and no pooling (approx.) | Performance and validation | References

Last update: 2026-09-11
Started: 2026-08-22

Tools for Experimenters
A quick simulated example | Survival curves | Posterior median survival time | Restricted mean survival time (RMST) | Model comparison with WAIC | Probability that one group beats another

Last update: 2026-09-11
Started: 2026-08-30