Plot function for etmCIF
objects. The function plots cumulative
incidence curves, possibly with pointwise confidence intervals.
1 2 3 4 5 6  ## S3 method for class 'etmCIF'
plot(x, which.cif, xlim, ylim,
ylab = "Cumulative Incidence", xlab = "Time", col = 1, lty, lwd = 1,
ci.type = c("none", "bars", "pointwise"), ci.fun = "cloglog",
ci.col = col, ci.lty = 3, legend = TRUE, legend.pos, curvlab,
legend.bty = "n", pos.ci = 27, ci.lwd = 3, ...)

x 
A 
which.cif 
A numeric vector indicating which CIFs should be
plotted. When missing, only the CIF of interest is plotted
(determined through the 
xlim 
xaxis limits for the plot. By default, 
ylim 
yaxis limits. Default is 
ylab 
Label for yaxis. Default is 
xlab 
Label for xaxis. Default is "Time" 
col 
Vector describing colours used for the CIF curves. Default is black 
lty 
Vector of line type 
lwd 
Thickness of the lines 
ci.type 
One of 
ci.fun 
Transformation used for the confidence intervals. Default is "clolog", and is a better choice for cumulative incidences. Other choices are "log" and "loglog" 
ci.col 
Colour for the pointwise confidence interval curves. Default is same as the CIF curves 
ci.lty 
Line type for the confidence intervals. Default is 3 
legend 
Logical. Whether to draw a legend. Default is 
legend.pos 
A vector giving the legend's position. See

curvlab 
A character or expression vector to appear in the legend. Default is CIF + event label 
legend.bty 
Box type for the legend. Default is none ("n") 
pos.ci 
If 
ci.lwd 
Thickness of the confidence interval segment (for

... 
Further graphical arguments 
The function relies on plot.etm
and lines.etm
with more
or less the same options. Exception is the drawing of the confidence
intervals, for which several displays are possible.
No value returned
Arthur Allignol arthur.allignol@uniulm.de
1 2 3 4 5 6 7 8 9 10 11 
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.