Given an object of class ped
, returns data frame with one row for each
interval containing interval information, mean values for numerical
variables and modus for non-numeric variables in the data set.
ped_info(ped)
An object of class ped
as returned by
as_ped
.
A data frame with one row for each unique interval in ped
.
# NOT RUN {
ped <- tumor[1:4,] %>% as_ped(Surv(days, status)~ sex + age)
ped_info(ped)
# }
Run the code above in your browser using DataLab