plot_simuData:
Make an incidence plot from simulated data.
Description
Create an incidence plot ordered by follow-up time from a survival data simulated.
Usage
plot_simuData(data, title="Sample Survival Data")
Arguments
data
A dataframe of survival data containing the following columns: id, start, stop, status, x
title
Title of the graph
Details
This makes the incidence plot of the survival data based on the input dataframe from the tdSim.method1 or tdSim.method2 function. More generally, this function would also works with a dataframe containing survival data with the same columns name as indicated above.