The R package dynsurv provides functions fitting time-varying coefficient models for interval censored and right censored survival data.
Three major approaches are implemented:
- Bayesian Cox model with time-independent, time-varying or dynamic coefficients for right censored and interval censored data;
- Spline based time-varying coefficient Cox model for right censored data;
- Transformation model with time-varying coefficients for right censored data using estimating equations.
You may install the released version from CRAN.
The latest version of package is under development at GitHub. If it is able to pass the automated package checks, one may install it by
if (! require(remotes)) install.packages("remotes") remotes::install_github("wenjie2wang/dynsurv", upgrade = "never")