No return value if fig = TRUE, otherwise the cumulative
hazards function (coordinates), given fn = "cum".
Arguments
x
A phreg object
fn
Which function should be plotted? Default is the hazard function(s).
main
Header for the plot
xlim
x limits
ylim
y limits
xlab
x label
ylab
y label
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.
score
Multiplication factor for the hazard function.
fig
logical, should the graph be drawn? If FALSE, data is returned.