Plots two survival distributions.

plotsurvdef(survdefC, survdefT, xupper)

Arguments

survdefC

the survival distribution of the control group (will be plotted as a solid line), as a list in the form output by survdef.

survdefT

the survival distribution of the control group (will be plotted as a dashed line), as a list in the form output by survdef.

xupper

the upper x axis limit for the plot.

Examples

RIC<-survdef(times = 18, surv = .6) MAC<-survdef(times = 3, haz=c(4.375*RIC$h(1),RIC$h(1))) plotsurvdef(RIC, MAC, 24)