Displaying 2 results from an estimated 2 matches for "oxuin".
Did you mean:
pxuin
2001 Nov 08
0
eqscplot() in library MASS: fails when given only one point (PR#1162)
...After inserting browser() just before the last line in eqscplot() (in which
plot() gets called), I found the following:
> eqscplot(x=1, y=1)
Called from: eqscplot(x = 1, y = 1)
Browse[1]> xlim
[1] NaN NaN
Browse[1]> ylim
[1] NaN NaN
This results from the lines 35 and 36:
xuin <- oxuin <- oldpin[1]/diff(xlim)
yuin <- oyuin <- oldpin[2]/diff(ylim)
which will give Inf values, since diff(xlim) and diff(ylim) will be zero at
that point (xlim and ylim containing c(1, 1) in this case).
I can't propose a patch, though, since I haven't the time to really work out
h...
2001 Nov 09
0
eqscplot() in library MASS: fails when given only one point (PR#1164)
...ot() (in which
> plot() gets called), I found the following:
>
> > eqscplot(x=1, y=1)
> Called from: eqscplot(x = 1, y = 1)
> Browse[1]> xlim
> [1] NaN NaN
> Browse[1]> ylim
> [1] NaN NaN
>
>
> This results from the lines 35 and 36:
>
> xuin <- oxuin <- oldpin[1]/diff(xlim)
> yuin <- oyuin <- oldpin[2]/diff(ylim)
>
> which will give Inf values, since diff(xlim) and diff(ylim) will be zero at
> that point (xlim and ylim containing c(1, 1) in this case).
>
> I can't propose a patch, though, since I haven't t...