Package: survextrap
Title: Bayesian Flexible Parametric Survival Modelling and
        Extrapolation
Version: 1.0
Date: 2025-06-05
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) <doi:10.1186/s12874-023-02094-1>.
License: GPL (>= 3)
Encoding: UTF-8
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
NeedsCompilation: yes
Packaged: 2025-06-05 16:26:33 UTC; Chris J
Author: Christopher Jackson [aut, cre, cph] (ORCID:
    <https://orcid.org/0000-0002-6656-8913>),
  Iain Timmins [ctb] (ORCID: <https://orcid.org/0000-0002-8761-582X>),
  Michael Sweeting [ctb] (ORCID: <https://orcid.org/0000-0003-0980-8965>)
Maintainer: Christopher Jackson <chris.jackson@mrc-bsu.cam.ac.uk>
Repository: CRAN
Date/Publication: 2025-06-10 09:20:02 UTC
Built: R 4.4.3; x86_64-w64-mingw32; 2025-12-19 05:06:46 UTC; windows
Archs: x64
