Displaying 2 results from an estimated 2 matches for "ytemp".
Did you mean:
temp
2015 Jun 11
0
Odd behavior of plot function
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 shouldn't be there, if you remove it then the upper limit is sensible.
plot(range(xtemp), range(...
2015 Jun 11
0
Odd behavior of plot function
...> 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(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 shouldn't be there, if you remove it then the upper limit is sensible.
>
>...