Learn R Programming

cmprskQR (version 0.9.2)

plot.predict.crrQR: Plot estimated subdistribution functions

Description

plot method for predict.crrQR

Usage

# S3 method for predict.crrQR
plot(x, lty=1:(ncol(x)-1), color=1,
ylim=c(0, max(x[, ncol(x)])), xmin=0, xmax=max(x[, -ncol(x)]), …)

Arguments

x

output from predict.crrQR

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.crrQR, by default using a different line type for each curve

See Also

crrQR predict.crrQR