Created: 2012-07-19 03:06
Updated: 2018-08-26 23:59
License: other


R Package dynsurv

CRAN_Status_Badge Build Status

The R package dynsurv provides functions to fit time-varying coefficient models for interval censored and right censored survival data.

Three major approaches are implemented:

  1. Bayesian Cox model with time-independent, time-varying or dynamic coefficients for right censored and interval censored data;

  2. Spline based time-varying coefficient Cox model for right censored data;

  3. Transformation model with time-varying coefficients for right censored data using estimating equations.


You may install the released version from CRAN.



Build Status

The latest version of package is under development at GitHub in branch 'dev'. If it is able to pass the building check by Travis CI, you may consider installing the latest version with the help of devtools by

devtools::install_github("wenjie2wang/dynsurv", ref = "dev")

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.

Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more