flexsurv: Flexible Parametric Survival and Multi-State Models

Flexible parametric models for time-to-event data, including the Royston-Parmar spline model, generalized gamma and generalized F distributions. Any user-defined parametric distribution can be fitted, given at least an R function defining the probability density or hazard. There are also tools for fitting and predicting from fully parametric multi-state models, based on either cause-specific hazards or mixture models.

Version: 2.3
Depends: survival, R (≥ 2.15.0)
Imports: assertthat, deSolve, generics, magrittr, mstate (≥ 0.2.10), Matrix, muhaz, mvtnorm, numDeriv, quadprog, Rcpp (≥ 0.11.5), rlang, rstpm2, purrr, statmod, tibble, tidyr, dplyr, tidyselect, ggplot2
LinkingTo: Rcpp
Suggests: splines2, flexsurvcure, survminer, lubridate, rmarkdown, colorspace, eha, knitr, msm, testthat, TH.data, broom, covr
Published: 2024-04-21
DOI: 10.32614/CRAN.package.flexsurv
Author: Christopher Jackson [aut, cre], Paul Metcalfe [ctb], Jordan Amdahl [ctb], Matthew T. Warkentin [ctb], Michael Sweeting [ctb], Kevin Kunzmann [ctb]
Maintainer: Christopher Jackson <chris.jackson at mrc-bsu.cam.ac.uk>
BugReports: https://github.com/chjackson/flexsurv/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://github.com/chjackson/flexsurv, http://chjackson.github.io/flexsurv/
NeedsCompilation: yes
Citation: flexsurv citation info
Materials: NEWS ChangeLog
In views: Distributions, Survival
CRAN checks: flexsurv results


Reference manual: flexsurv.pdf
Vignettes: Calculating standardized survival measures in flexsurv
flexsurv user guide
Multi-state modelling with flexsurv
Distributions reference
Supplementary examples of using flexsurv


Package source: flexsurv_2.3.tar.gz
Windows binaries: r-devel: flexsurv_2.3.zip, r-release: flexsurv_2.3.zip, r-oldrel: flexsurv_2.3.zip
macOS binaries: r-release (arm64): flexsurv_2.3.tgz, r-oldrel (arm64): flexsurv_2.3.tgz, r-release (x86_64): flexsurv_2.3.tgz, r-oldrel (x86_64): flexsurv_2.3.tgz
Old sources: flexsurv archive

Reverse dependencies:

Reverse depends: flexsurvcure, reslife, survHE
Reverse imports: AHSurv, AmoudSurv, bayesCureRateModel, CopulaCenR, Countr, cyclomort, debest, doublIn, easysurv, educineq, eventPred, EventPredInCure, gompertztrunc, HCTDesign, hdcuremodels, hesim, mixcure, mlt.docreg, MNB, OneArm2stage, parmsurvfit, parTimeROC, psm3mkv, rocTree, Surrogate, surv2sampleComp, survivalSL, vsd
Reverse suggests: admix, burgle, butcher, censored, fic, fitteR, ggamma, heemod, icpack, marginaleffects, msm, multinma, psborrow, psborrow2, riskRegression, RoBSA, rprev, rstpm2, rsurv, simsurv, survex, survminer, tidyAML


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