hexbin {flowViz} | R Documentation

## Fast hexagon binning.

### Description

Yet another hexagon binning routine - this one adapted from the scagnostics package. This is very preliminary and may not be retained.

### Usage

    hexbin(x, y, bins = 50)

### Arguments

`x` | x values
`y` | y values
`bins` | The approximate number of bins, in the x direction.

### Details

This implementation maps x and y to the unit square and does the binning in that region.

### Value

A list, with componentes `counts`, `xbin` and `ybin`.

### References

The scagnostics package.

### Examples

     x = runif(100)
     y = runif(100)
     hb = hexbin(x,y)

[Package flowViz version 1.6.2 Index]