https://github.com/wenjie2wang/dynsurv
Dynamic Models for Survival Data
https://github.com/wenjie2wang/dynsurv
bayesian cox-model interval-censored survival-analysis time-varying
Last synced: 3 months ago
JSON representation
Dynamic Models for Survival Data
- Host: GitHub
- URL: https://github.com/wenjie2wang/dynsurv
- Owner: wenjie2wang
- License: gpl-3.0
- Created: 2012-07-19T03:06:14.000Z (almost 14 years ago)
- Default Branch: main
- Last Pushed: 2024-07-08T12:20:07.000Z (almost 2 years ago)
- Last Synced: 2025-12-09T10:59:56.037Z (6 months ago)
- Topics: bayesian, cox-model, interval-censored, survival-analysis, time-varying
- Language: C++
- Homepage:
- Size: 406 KB
- Stars: 9
- Watchers: 6
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog
- License: LICENSE
Awesome Lists containing this project
README
# dynsurv
[![CRAN_Status_Badge][r-pkg-badge]][cran-url]
[![Build Status][gha-icon]][gha-url]
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;
1. Spline based time-varying coefficient Cox model for right censored data;
1. Transformation model with time-varying coefficients for right censored data
using estimating equations.
## Installation
You may install the released version from [CRAN][cran-url].
```R
install.packages("dynsurv")
```
## Development
The latest version of package is under development at [GitHub][github-url]. If
it is able to pass the automated package checks, one may install it by
```R
if (! require(remotes)) install.packages("remotes")
remotes::install_github("wenjie2wang/dynsurv", upgrade = "never")
```
## Get Started
```
library(dynsurv)
?bayesCox
```
## License
[GNU General Public License][gpl] (≥ 3)
[r-pkg-badge]: https://www.r-pkg.org/badges/version/dynsurv
[cran-url]: https://CRAN.R-project.org/package=dynsurv
[github-url]: https://github.com/wenjie2wang/dynsurv
[gha-icon]: https://github.com/wenjie2wang/dynsurv/workflows/R-CMD-check/badge.svg
[gha-url]: https://github.com/wenjie2wang/dynsurv/actions
[codecov]: https://codecov.io/gh/wenjie2wang/dynsurv
[codecov-main]: https://codecov.io/gh/wenjie2wang/dynsurv/branch/main/graph/badge.svg
[gpl]: https://www.gnu.org/licenses/