VISUALIZEDATA: VISUALIZEDATA

Description Usage Arguments Examples

View source: R/VISUALIZEDATA.R

Description

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.

Usage

1
VISUALIZEDATA(datWIDE)

Arguments

datWIDE

A data frame with the following columns:

  • Y_R, the recurrence event/censoring time

  • delta_R, the recurrence event/censoring indicator

  • Y_D, the death event/censoring time

  • delta_D, the death event/censoring indicator

Examples

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)

lbeesleyBIOSTAT/MultiCure documentation built on July 10, 2019, 5:27 a.m.