plot KaplanMeier survival curves
1 2 3 4 5 6  KM.plot.ade(time, event, group=NULL, data=NULL, vnames=NULL,
main="KaplanMeier Plot", xlab="FollowUp Time",
ylab="Cumulative Survival", xlim=NULL, ylim=NULL, xticks=NULL,
legendon='bottomleft', lwd=2, lty=1,
col=NULL, tcol=NULL, bgcol=NULL, pdigs=4,
CI=FALSE, ycut=TRUE, zenspoints=FALSE, test=FALSE, wall=0)

time 

event 

group 

data 
data.frame if used character string for (time,event,group) 
vnames 
a vector of character strings with the names of groups in the legend 
main 
an overall title for the plot 
xlab 
a title for the x axis 
ylab 
a title for the y axis 
xlim 
the x limits (x1, x2) of the plot 
ylim 
the y limits (y1, y2) of the plot 
xticks 
the number of ticks on the x axis or a vector of exact ticks 
legendon 
a single keyword from:
This places the legend on the inside of the plot frame at the given location. 
lwd 
the line width 
lty 
the line type 
col 
a vector of colors for each curve 
tcol 
color of the text in whole plot 
bgcol 
the background color for plot dekoration 
pdigs 
a number indicate how to round pvalues.: see ?format.pval.ade 
CI 
logical asking whether to plot confidence intervals 
ycut 
logical asking whether to cut the y axis, if the space is not used 
zenspoints 
logical asking whether to draw censored datapoint 
test 
logical asking whether to test for the difference between curves 
wall 
a number between 0 and 6 for selection the dekoration style of the plot. 
The pvalue comes from a logrank test
1 2 3 4 
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.