[R] Point Size in plot.cox.zph

From: Luke Keele <keele.4_at_polisci.osu.edu>
Date: Fri 10 Feb 2006 - 02:53:39 EST

I would like control over the point size (and the type of points) when plotting a cox.zph object, but it returns the same error as when one tries to change the y-axis. I have searched the web for an answer (and the r-help list) but to no avail. What I have done is make a blank plot and use the points command as follows:

plot(time, war.zph$y[,7], type="n")
points(war.zph[7], ann=F, pch = ".")

But this causes you to lose the spline fit and seems rather cumbersome.   A way to do this using the standard plot.cox.zph framework would be very helpful.



Luke Keele
Assistant Professor
Dept. Of Political Science
Ohio State University

R-help@stat.math.ethz.ch mailing list
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Fri Feb 10 04:02:26 2006

This archive was generated by hypermail 2.1.8 : Sat 11 Feb 2006 - 02:03:58 EST