Description Usage Arguments Examples
View source: R/VISUALIZEDATA.R
This function uses RShiny to plot Kaplan-Meier plots for time to recurrence and time to death. This function can also be used to visualize the occurrence of unequal follow-up and when the recurrence event/censorings and death event/censorings occur.
1 | VISUALIZEDATA(datWIDE)
|
datWIDE |
A data frame with the following columns:
|
1 2 3 4 5 6 7 | attach(SimulateMultiCure(type = "NoMissingness"))
datWIDE = data.frame( Y_R, Y_D, delta_R , delta_D, G)
VISUALIZEDATA(datWIDE)
### With Unequal Censoring
attach(SimulateMultiCure(type = "UnequalCensoring"))
datWIDE = data.frame( Y_R, Y_D, delta_R , delta_D, G)
VISUALIZEDATA(datWIDE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.