[R] identify in lattice

apjaworski@mmm.com apjaworski at mmm.com
Tue Mar 5 05:33:59 CET 2002


Does identify work in lattice plots?  I tried this in R 1.4.1 (original
release) on my Win2000 machine with lattice 0.4-0 and grid 0.5-1.

     > xyplot(y ~ x,
     + panel=function(x, y, ...){
     + panel.xyplot(x, y, col=2, pch=20, ...)
     + panel.lmline(x, y, type = "l")
     + identify(x, y)
     + })

I get a change of cursor after the data points and the LS line are plotted
(but before the axes are), but when I start clicking on points, all I get
are beeps.   When I click the right mouse button I get a window with
stop/continue choices and choosing stop produces the axes on the plot and a
bunch of  warnings about no point being within 0.25 inches.

Am I doing anything wrong or identify is not implemented in lattice
graphics?

Thanks in advance,

Andy

__________________________________
Andy Jaworski
Engineering Systems Technology Center
3M Center, 518-1-01
St. Paul, MN 55144-1000
-----
E-mail: apjaworski at mmm.com
Tel:  (651) 733-6092
Fax:  (651) 736-3122

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list