km_fit {psfmi} | R Documentation |
Kaplan-Meier (KM) estimate at specific time point
Description
Kaplan-Meier (KM) estimate at specific time point
Usage
km_fit(time, status, t_risk)
Arguments
time |
Character vector. Name of time variable. |
status |
Character vector. Name of status variable. |
t_risk |
Follow-up value to calculate cases, controls. See details. |
Value
KM estimate at specific time point
Author(s)
Martijn Heymans, 2023
References
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>.
See Also
[Package psfmi version 1.4.0 Index]