Comparing Survival Outcomes
comparingSurvival( data, times, status, groups, ciyn = FALSE, loglogyn = FALSE, timeunits = "None" )
data | . |
---|---|
times | . |
status | . |
groups | . |
ciyn | . |
loglogyn | . |
timeunits | . |
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