hexbin
object
if a suitable graphics device is being used.
identify.hexbin(x, use.pars=par(), labels, tolerance=0.2, offset=0, ...)
"hexbin"
object.
This must have components
count
,
xcenter
, and
ycenter
.
plot.hexbin
to plot
x
before identifying.
dim(x)[1]
.
The default is to use
x$count
, the cell counts.
tolerance
inches from the pointer will be identified.
The default is to identify a point if it is within a tenth of an inch of
the pointer.
identify.default
.
identify.default
.
plot=TRUE
, the default for
identify.default
.
This function is a method for the generic function
identify
for class
"hexbin"
.
It can be invoked by calling
identify
for an object of the
appropriate class, or directly by calling
identify.hexbin
regardless of the class of the object.
x <- rnorm(10000) y <- rnorm(10000) bin1 <- hexbin(x,y) bin1pars <- plot(bin1) # Save the parameters used to plot the hexagons identify(bin1, bin1pars)