R Package dynsurv
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 building check by Travis CI, you may consider installing the latest version with the help of remotes by
remotes::install_github("wenjie2wang/dynsurv", upgrade = FALSE)
or cloning this reposotory to local and install by makefile.
git clone https://github.com/wenjie2wang/dynsurv.git cd dynsurv make install
See package help manual for details and demonstration.
The R package dynsurv is free software: You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version (at your option). See the GNU General Public License for details.
The R package dynsurv is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.