Convert survival attribution results to a data.frame
as.data.frame.Rd
This function converts the survival attribution results into a data frame format. It can handle both stacked and non-stacked formats.
Usage
# S3 method for class 'surv_result'
as.data.frame(x, ..., stacked = FALSE)
as.data.table.surv_result(x, ..., stacked = FALSE)