h_n_events_per_time | R Documentation |
This function counts the number of events at each unique event time point in a survival dataset.
h_n_events_per_time(df, time, status)
df |
( |
time |
( |
status |
( |
If there are no events in the dataset, it returns an empty data.frame
.
A data.frame
with two columns: time
and n_events
, where n_events
is the
number of events at each time point.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.