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.

Maintainer: Christopher Jackson <chris.jackson at mrc-bsu.cam.ac.uk>

Author(s): Christopher Jackson*, Paul Metcalfe*, Jordan Amdahl*

Install package and any missing dependencies by running this line in your R console:

install.packages("flexsurv")

Depends survival, R (>= 2.15.0)
Imports mstate(>=0.2.10), muhaz, mvtnorm, deSolve, quadprog, Rcpp(>=0.11.5)
Suggests eha, numDeriv, testthat, msm, ActuDistns, knitr, TH.data, colorspace
Enhances
Linking to Rcpp
Reverse
depends
flexsurvcure
Reverse
imports
Countr, educineq, surv2sampleComp
Reverse
suggests
heemod, mlt.docreg, msm
Reverse
enhances
Reverse
linking to

Package flexsurv
Materials
URL https://github.com/chjackson/flexsurv-dev
Task Views Distributions , Survival
Version 1.1
Published 2017-03-27
License GPL (>= 2)
BugReports https://github.com/chjackson/flexsurv-dev/issues
SystemRequirements
NeedsCompilation yes
Citation
CRAN checks flexsurv check results
Package source flexsurv_1.1.tar.gz