[R] Visualize cox proportional hazards

Armin Goralczyk agoralczyk at gmail.com
Tue Oct 9 22:45:14 CEST 2007


Hello all
I would like to visualize the hazard ratios of a cox proportional
hazards model. I have seen some good examples in the New England
Journal of Medicine:

http://content.nejm.org/cgi/content/short/353/26/2747/F3

http://content.nejm.org/cgi/content/short/350/26/2654/F2

(I hope these are open access, but I am not sure)

And something similar in the book 'R Graphics' by Paul Murrell:

http://www.stat.auckland.ac.nz/~paul/RGraphics/chapter1.html
(Fig. 1.8)

But the code that is needed (to modify) is quite complex:

http://www.stat.auckland.ac.nz/~paul/RGraphics/examples-table.R

My question: Is there a simple way to obtain such a plot? and
Is there any other good plot to visualize the hazard ratios?

Thanks in advance.
-- 
Armin Goralczyk



More information about the R-help mailing list