R-beta: purpose of n in identify() function?

Richard Lammers lammers at edac.sr.unh.edu
Fri Jun 20 21:55:55 CEST 1997


I think I am misunderstanding something about the identify() function.

if we have an example such as this:

> x_1:10
> y_1:10
> plot(x,y)         
> identify(x,y, n=1)
[1] 2 3
>

I clicked on two points and identify() returned both of them (2 and 3). 

The manual says n is the maximum number of points to be identified.

If I specify n=1, should identify() return a single value?

Richard


--

Richard Lammers                         Phone:   (603) 862-4699
Complex System Research Center            Fax:   (603) 862-0188
University of New Hampshire             email:   Richard.Lammers at unh.edu
Durham, NH  03824 (USA)                   URL:   TBA


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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