[R] Identify() : How to set the offset , or a reference

2007-11-05 Thread allergen
Hello, I try to make several zoom in chosen region. So i use identify to indicate in which area to zoom. i want o make it several time. But once I zoom one time, the identify fonction gives bad results. There is a short example, when i try to identify in Fnew it sems that there is an offset ,

Re: [R] Identify() : How to set the offset , or a reference

2007-11-05 Thread Greg Snow
You need to supply both x and y to the identify function. The suprising thing is that the first call worked. So try: plot(F$x,F$y) I=identify(F$x,F$y) Fnew=F[I[1]:I[2],] plot(Fnew$x,Fnew$y) I=identify(Fnew$x,Fnew$y) Hope this helps, -- Gregory (Greg) L. Snow Ph.D. Statistical Data