Comparing Survival Outcomes
Usage
comparingSurvival(
data,
times,
status,
groups,
ciyn = FALSE,
loglogyn = FALSE,
timeunits = "None"
)
Value
A results object containing:
results$text | a preformatted | ||||
results$compsurvTable1 | a table | ||||
results$compsurvTable2 | a table | ||||
results$compsurvTable3 | a table | ||||
results$plot | an image | ||||
results$plot2 | an image |
Tables can be converted to data frames with asDF
or as.data.frame
. For example:
results$compsurvTable1$asDF
as.data.frame(results$compsurvTable1)