[R] calibrate.cph plots
dwinsemius at comcast.net
Wed Sep 7 00:11:41 CEST 2011
On Sep 6, 2011, at 5:16 PM, Salvo Mac wrote:
> How can I exclude the legends from calibration plots
> generated by calibrate.cph
You may be confused. `calibrate.cph` does not do plotting. There is a
`plot.calibrate` function and a `plot.calibrate.default` function.
Looking at the code you can see that the legend= argument is checked
before the legend is created by `plot.calibrate.default`.
# which works for calibrate on an lrm model.
# But ... there are no legends in plot.calibrate done on cph fits.
So do you mean the subtitles? If so, then this works:
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
David Winsemius, MD
West Hartford, CT
More information about the R-help