inspect_surv_data {easysurv} | 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"
)