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 predict.crr

lty

vector of line types. If length is < number of curves, then lty[1] is used for all.

color

vector of line colors. If length is < number of curves, then color[1] is used for all.

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

crr predict.crr


[Package cmprsk version 2.2-12 Index]