flexsurv
flexsurv is an R package designed for fitting flexible parametric survival models. These models are a powerful extension of traditional survival analysis methods, offering greater flexibility in modeling the baseline hazard function without making rigid assumptions about its shape. The package allows for the specification of various parametric distributions for the survival times, including the Weibull, Gompertz, and generalized gamma distributions, as well as extensions to these.
A key feature of flexsurv is its ability to incorporate time-dependent covariates and to handle different types
The package provides functions for fitting various types of survival models, including standard survival regression, competing