Does this work for you?
x <- runif(30) y <- runif(30) z <- 1:30 plot(x,y) identify(x,y,z)
That is you need to tell it everything it is looking for. Sometimes x is boy x and y because they use xy.coords
Tom
David Parkhurst wrote:
I can't get identify to work, using R 2.0.1 under windows xp pro, service pack 2. Here's what I enter, and the result:
> plot((our.frame2$c1),(our.frame2$c9)) # Produces desired plot > identify(our.frame2$c1) # Plot comes to forefront, so I select a point warning: no point with 0.25 inches numeric(0)
Is my call to identify correct? The help page for indentify (from ?identify) doesn't give any examples, so I don't know what the "x" should be. I right click right on top of one of the points, then left click and select stop.
Thanks for any help.
Dave Parkhurst
______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html