Fits Piecewise Polynomial with Data-Adaptive Knots in Cox Model
Overview
In Cox's proportional hazard model, covariates are modeled as linear function and may not be flexible. This package implements additive trend filtering Cox proportional hazards model as proposed in Jiacheng Wu & Daniela Witten (2019) "Flexible and Interpretable Models for Survival Data", Journal of Computational and Graphical Statistics, DOI:10.1080/10618600.2019.1592758. The fitted functions are piecewise polynomial with adaptively chosen knots.
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- WARNING12 OK, 1 WARNING2026-06-08
- OK14 OK2026-04-22
Show 2 earlier changesHide 2 earlier changes
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-03-10
Documentation
- Help pages
- 13includes a package overview page
- Examples that run
- 100%11 run in a plain check
- Exported functions with examples
- 92%
- Documented parameters
- 100%
- Return-value docs
- 50%
- Help pages citing references
- 54%
Downloads
Dependencies
Code & Tests
People & History
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 0.1.0Latest2019-08-01 · current release
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2019-08-01
- Total releases
- 1 / 7 yrs
- License
- GPL (>= 2) OSI
- Download size
- 71 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("tfCox")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.