hexbin {flowViz} | R Documentation |
Yet another hexagon binning routine - this one adapted from the scagnostics package. This is very preliminary and may not be retained.
hexbin(x, y, bins = 50)
x |
x values |
y |
y values |
bins |
The approximate number of bins, in the x direction. |
This implementation maps x and y to the unit square and does the binning in that region.
A list, with componentes counts
, xbin
and ybin
.
The scagnostics package.
x = runif(100) y = runif(100) hb = hexbin(x,y)