View source: R/inspect_surv_data.R
inspect_surv_data | R Documentation |
Quickly inspect the survival data to ensure it is in the correct format.
inspect_surv_data(data, time, event, group = NULL)
data |
A data frame containing the survival data. |
time |
The column name in |
event |
The column name in |
group |
Optional. The column name in |
A list containing tibbles that summarise the first few rows of the survival data, the sample sizes, the events, and median survival.
inspect_surv_data(
data = easysurv::easy_bc,
time = "recyrs",
event = "censrec",
group = "group"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.