Kaplan-Meier (KM) estimate at specific time point
km_fit(time, status, t_risk)
KM estimate at specific time point
Character vector. Name of time variable.
Character vector. Name of status variable.
Follow-up value to calculate cases, controls. See details.
Martijn Heymans, 2023
Pencina MJ, D'Agostino RB Sr, Steyerberg EW. Extensions of net reclassification improvement calculations to measure usefulness of new biomarkers. Stat Med. 2011;30(1):11-21
Inoue E (2018). nricens: NRI for Risk Prediction Models with Time to Event and Binary Response Data. R package version 1.6, <https://CRAN.R-project.org/package=nricens>.
km_fit