The pts argument for identify allows for non-interactive
identification:
> x <- runif(10)
> y <- runif(10)
> plot(x,y)
> identify(x,y, pts=list(x=x,y=y))
Greg Snow, Ph.D.
Statistical Data Center, LDS Hospital
Intermountain Health Care
greg.snow@ihc.com
(801) 408-8111
>>> David Parkhurst <parkhurs@imap.iu.edu> 05/15/05 09:51AM >>>
Is there a way to cause plot(x,y) to number each point with its row
number automatically? I know how to do this with identify(), point by
point, but can it be done without all that mousing?
Dave Parkhurst
--------------------------------------------------------------------
This message was distributed by s-news@lists.biostat.wustl.edu. To
unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
the BODY of the message: unsubscribe s-news
|