View source: R/comparingsurvival.h.R
comparingSurvival | R Documentation |
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
as.data.frame(results$compsurvTable1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.