Re: [Rd] Odd behavior of plot function

2015-06-11 Thread Therneau, Terry M., Ph.D.
el" wrote: - To: "r-devel@r-project.org" From: "Therneau, Terry M., Ph.D." Sent by: "R-devel" Date: 06/11/2015 12:50PM Subject: [Rd] Odd behavior of plot function The following code snippet taken from plot.survfit now gives me a surprising result: tempx <- c

[Rd] Odd behavior of plot function

2015-06-11 Thread Therneau, Terry M., Ph.D.
The following code snippet taken from plot.survfit now gives me a surprising result: tempx <- c(0, 400, 0, 0) ytemp <- c(.0657, .98, 1, 0) plot(range(xtemp), range(ytemp), log='y', type='n') In that the max value for the x axis is now 10. The 0 on the end of ytemp was actually a mistake and s