Skip to content

wenjie2wang/dynsurv

Repository files navigation

dynsurv

CRAN_Status_Badge Build Status

The R package dynsurv provides functions fitting 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.

Installation

You may install the released version from CRAN.

install.packages("dynsurv")

Development

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")

Get Started

library(dynsurv)
?bayesCox

License

GNU General Public License (≥ 3)