Description Usage Arguments Details Author(s) Examples
Create an incidence plot ordered by follow-up time from a survival data simulated.
1 | plot_simuData(data, title="Sample Survival Data")
|
data |
A dataframe of survival data containing the following columns: id, start, stop, status, x |
title |
Title of the graph |
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.
Danyi Xiong, Teeranan Pokaprakarn, Hiroto Udagawa, Nusrat Rabbee
Maintainer: Nusrat Rabbee <rabbee@berkeley.edu>
1 2 3 4 | dat <- tdSim.method2(500, duration=24,lambda12=1.3,lambda23=0.04,
lambda13=0.03, exp.prop=0.2,rateC=0.05, min.futime=4, min.postexp.futime=4)
plot_simuData(dat, title='method2_filter')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.