hexBin {ggplot2}R Documentation

Bin 2d plane into hexagons

Description

Wrapper around hcell2xy that returns a data frame

Usage

hexBin(x, y, binwidth)

Arguments

x x positions
y y positions
binwidth numeric vector of length 2 giving binwidth in x and y directions

Author(s)

Hadley Wickham <h.wickham@gmail.com>


[Package ggplot2 version 0.8.2 Index]