plotsurvdef | R Documentation |
Plots two survival distributions.
plotsurvdef(survdefC, survdefT, xupper)
survdefC |
the survival distribution of the control group (will be
plotted as a solid line), as a list in the form output by |
survdefT |
the survival distribution of the control group (will be
plotted as a dashed line), as a list in the form output by |
xupper |
the upper x axis limit for the plot. |
RIC<-survdef(times = 18, surv = .6)
MAC<-survdef(times = 3, haz=c(4.375*RIC$h(1),RIC$h(1)))
plotsurvdef(RIC, MAC, 24)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.