plot.predict.crr: Plot estimated subdistribution functions

Description Usage Arguments Side Effects See Also

Description

plot method for predict.crr

Usage

1
2
3
## 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 < \# curves, then lty[1] is used for all.

color

vector of line colors. If length is < \# 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


cmprsk documentation built on May 29, 2017, 8 p.m.