plot.cuminc | R Documentation |
Plot method for cuminc. Creates labeled line plots from appropriate
list input, for example, the output from cuminc()
.
## S3 method for class 'cuminc'
plot(x, main=" ", curvlab, ylim=c(0, 1), xlim, wh=2,
xlab="Years", ylab="Probability", lty=1:length(x), color=1, lwd=par('lwd'),
...)
x |
a list, with each component representing one curve in the plot. Each
component of |
main |
the main title for the plot. |
curvlab |
Curve labels for the plot. Default is |
ylim |
yaxis limits for plot |
xlim |
xaxis limits for plot (default is 0 to the largest time in any of the curves) |
wh |
if a vector of length 2, then the upper right coordinates of the legend; otherwise the legend is placed in the upper right corner of the plot |
xlab |
X axis label |
ylab |
y axis label |
lty |
vector of line types. Default |
color |
vector of colors. If |
lwd |
vector of line widths. If |
... |
additional arguments passed to the initial call of the plot function. |
No value is returned.
cuminc
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.