Package: survextrap Title: Bayesian Flexible Parametric Survival Modelling and Extrapolation Version: 1.0.1 Date: 2026-01-11 Authors@R: c(person("Christopher", "Jackson", , "chris.jackson@mrc-bsu.cam.ac.uk", role = c("aut", "cre", "cph"), comment = c(ORCID = "0000-0002-6656-8913")), person("Iain", "Timmins", , "", role = c("ctb"), comment = c(ORCID = "0000-0002-8761-582X")), person("Michael", "Sweeting", , "", role = c("ctb"), comment = c(ORCID = "0000-0003-0980-8965"))) Description: Survival analysis using a flexible Bayesian model for individual-level right-censored data, optionally combined with aggregate data on counts of survivors in different periods of time. An M-spline is used to describe the hazard function, with a prior on the coefficients that controls over-fitting. Proportional hazards or flexible non-proportional hazards models can be used to relate survival to predictors. Additive hazards (relative survival) models, waning treatment effects, and mixture cure models are also supported. Priors can be customised and calibrated to substantive beliefs. Posterior distributions are estimated using 'Stan', and outputs are arranged in a tidy format. See Jackson (2023) . License: GPL (>= 3) Encoding: UTF-8 Roxygen: list(markdown = TRUE) RoxygenNote: 7.3.2 Biarch: true Depends: R (>= 3.5.0), survival Imports: ggplot2 (>= 3.4.0), gridExtra, loo, methods, posterior, Rcpp (>= 0.12.0), rstan (>= 2.26.0), splines2, tibble 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) SystemRequirements: GNU make Suggests: rstantools (>= 2.3.1), knitr, rmarkdown, testthat, SHELF, flexsurv, flexsurvcure, splines, dplyr, viridis, forcats, fs, purrr, tidyr, stringr, survminer VignetteBuilder: knitr URL: https://github.com/chjackson/survextrap, https://chjackson.github.io/survextrap/ BugReports: https://github.com/chjackson/survextrap/issues LazyData: true Config/pak/sysreqs: make Repository: https://chjackson.r-universe.dev Date/Publication: 2026-03-10 10:18:51 UTC RemoteUrl: https://github.com/chjackson/survextrap RemoteRef: HEAD RemoteSha: 17cbe470c15c347da585efa564c29d0fc35f0461 NeedsCompilation: yes Packaged: 2026-06-08 11:12:15 UTC; root Author: Christopher Jackson [aut, cre, cph] (ORCID: ), Iain Timmins [ctb] (ORCID: ), Michael Sweeting [ctb] (ORCID: ) Maintainer: Christopher Jackson