Description Usage Arguments Value See Also Examples
Given a data set in standard format with one row per observation unit, transform the data set into interval data, where intervals are specified via breaks. Each observation unit will have as many rows as interval start points that it survived.
1 2 3 4 5 6 7 8 |
data |
Data set from which time and status variables will be extracted. |
breaks |
The time points of the interval borders. |
time_var |
The variable storing event times. |
status_var |
The variable storing the event indicator. |
right_closed |
Logical. If |
max_end |
logical. Should the last interval span until the last observed censoring or event time (if larger than the largest specified cut point). |
A tibble
containing riskset information as well
as hazard and survival function calculated by using the actuarial life table
method.
split_info
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.