Re: [R] Warning trying to plot -log(log(survival)) (John Sorkin)

2009-05-12 Thread Terry Therneau
John, Nothing about the data set you posted should give issues in any version of the package. The points =0 usually arises when the survival curve drops to zero, and so log(-log(0)) is being trimmed off the graph by the plot command. This is what should happen. As Thomas pointed out to

[R] Warning trying to plot -log(log(survival))

2009-05-11 Thread John Sorkin
windows xp R 2.8.1 I am trying to plot the -log(log(survival)) to visually test the proportional hazards assumption of a Cox regression. The plot, which should give two lines (one for each treatment) gives only one line and a warning message. I would appreciate help getting two lines, and an

Re: [R] Warning trying to plot -log(log(survival))

2009-05-11 Thread Steven McKinney
, May 11, 2009 12:19 PM To: r-h...@stat.math.ethz.ch Subject: [R] Warning trying to plot -log(log(survival)) windows xp R 2.8.1 I am trying to plot the -log(log(survival)) to visually test the proportional hazards assumption of a Cox regression. The plot, which should give two lines (one

Re: [R] Warning trying to plot -log(log(survival))

2009-05-11 Thread John Sorkin
11, 2009 12:19 PM To: r-h...@stat.math.ethz.ch Subject: [R] Warning trying to plot -log(log(survival)) windows xp R 2.8.1 I am trying to plot the -log(log(survival)) to visually test the proportional hazards assumption of a Cox regression. The plot, which should give two lines (one

Re: [R] Warning trying to plot -log(log(survival))

2009-05-11 Thread Steven McKinney
...@stat.math.ethz.ch Subject: RE: [R] Warning trying to plot -log(log(survival)) Time30 is simply Time/30 and reflects months of follow-up. A copy of my data follows: Time,Time30,Died,Age,Rx 3,0.1,0,40,2 8,0.26667,1,21,2 10,0.3,1,18,2 12,0.4,0,42,2 16,0.5,1,23,2