coxreg fit is
produced, one curve for each stratum.# S3 method for coxreg
plot(x, fn = c("cum", "surv", "log", "loglog"), fig = TRUE,
xlim = NULL, ylim = NULL, main = NULL, xlab = "Duration", ylab = "",
col, lty, printLegend = TRUE, newdata = NULL, ...)coxreg objectTRUE the plot is actually drawn, otherwise
only the coordinates of the curve(s) are returned.TRUE, a
legend is printed at a default place, if FALSE, no legend is
printed. Otherwise, if a text string, it should be one of "bottomleft",
"bottomright", "topleft", etc., see legend for all possibe choices.hazdata containing the coordinates of the curve(s).