[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:



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

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

(Fig. 1.8)

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


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