Description Usage Arguments Value See Also Examples
View source: R/interval-information.R
The columns ped_riskset, ped_events, ped_censored
provide the
size of the risk set at the beginning of each interval as well as the number
of events and censorings that occurred in the interval, respectively.
1 | riskset_info(ped)
|
ped |
An object of class |
A data frame with one row for each interval in ped
.
1 2 | ped <- tumor[1:4,] %>% as_ped(Surv(days, status)~ .)
riskset_info(ped)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.