Usage
# S3 method for phreg
plot(x, fn = c("haz", "cum", "den", "sur"), main = NULL,
xlim = NULL, ylim = NULL, xlab = "Duration", ylab = "", col, lty,
printLegend = TRUE, new.data = NULL, …)
Arguments
fn
Which functions shoud be plotted! Default is all. They
will scroll by, so you have to take care explicitely what you want
to be produced. See, eg, par(mfrow = ...)
col
Color(s) for the curves. Defaults to black.
lty
Line type for the curve(s). Defaults to 1:(No. of strata).
printLegend
Logical, or character ("topleft", "bottomleft",
"topright" or "bottomright"); if TRUE
or character, a legend is
added to the
plot if the number of strata is two or more.
new.data
Now deprecated; reference hazard is given by the fit;
either zero or the means all covariates, and (always) the
reference category for factors.
…
Extra parameters passed to 'plot' and 'lines'.