powered by
Plot Kaplan-Meier survival curves
imPlotSurv(data.all, lst.var, cols = c("black", "blue"), fname = NULL, ...)
Original dataset
see idem-parameters
idem-parameters
Curve colors of the treatment and control arm
File name of the result pdf file. If fname is null, result pdf file will not be generated
fname
Options for pdf function
pdf
# NOT RUN { lst.var <- list(trt="TRT", surv="SURV", outcome=c("Y1","Y2"), y0=NULL, trt.label = c("UC+SBT", "SAT+SBT"), duration=365); imPlotSurv(abc, lst.var); # }
Run the code above in your browser using DataLab