plotPredictEventProb(x, newdata, times, cause = 1, xlim, ylim, xlab, ylab, axes = TRUE, col, density, lty, lwd, add = FALSE, legend = TRUE, percent = FALSE, ...)x.FALSE no axes are drawn.TRUE only lines are added to an existing
devicelegend can be given in
the form legend.x=val where x is the name of the argument and val the
desired value. See also Details.TRUE the y-axis is labeled in percent.SmartControl and
then passed to the functions: plot, axis,
legend.legend and axis are simply
specified as legend.lty=2. The specification is not case sensitive,
thus Legend.lty=2 or LEGEND.lty=2 will have the same effect.
The function axis is called twice, and arguments of the form
axis1.labels, axis1.at are used for the time axis whereas
axis2.pos, axis1.labels, etc. are used for the y-axis.These arguments are processed via ...{} of
plotPredictEventProb and inside by using the function
SmartControl.
predictEventProbprodlim
# generate some competing risk data
Run the code above in your browser using DataLab