TabulateEvents | R Documentation |
Tabulate the number at risk and the number of events at each unique observation time.
TabulateEvents(status, time)
status |
Status, coded as 0 for censoring, 1 for an event, 2 for death. |
time |
Event time. |
Data.frame with the censorings, deaths, and events occurring at each distinct time point.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.