plot.predict.crr {cmprsk} | R Documentation |
Plot estimated subdistribution functions
Description
plot method for predict.crr
Usage
## S3 method for class 'predict.crr'
plot(x, lty=1:(ncol(x)-1), color=1,
ylim=c(0, max(x[, -1])), xmin=0, xmax=max(x[, 1]), ...)
Arguments
x |
Output from |
lty |
vector of line types. If length is |
color |
vector of line colors. If length is |
ylim |
range of y-axis (vector of length two) |
xmin |
lower limit of x-axis (often 0, the default) |
xmax |
upper limit of x-axis |
... |
Other arguments to plot |
Side Effects
plots the subdistribution functions estimated by predict.crr
, by
default using a different line type for each curve
See Also
[Package cmprsk version 2.2-12 Index]