Treatment Pathway Alluvial Plot
Usage
alluvialSurvival(
data,
timeVar,
stageVar,
treatmentVar,
patientId,
survivalVar,
showRightAxis = FALSE,
colorScheme = "clinical",
showSurvival = FALSE
)
Value
A results object containing:
results$todo | a html | ||||
results$mydataview | a preformatted | ||||
results$plot | an image | ||||
results$summaryTable | a table | ||||
results$survivalStats | a table |
Tables can be converted to data frames with asDF
or as.data.frame
. For example:
results$summaryTable$asDF
as.data.frame(results$summaryTable)