hcell2xyInt.Rd
Transforms the cell representation of a a lattice into a 2d integer coordinate system.
hcell2xyInt(hbin, xbins=NULL, xbnds=NULL, ybnds=NULL, shape=NULL)
a object of class "hexbin"
, typically produced by
hexbin(*)
.
the number of bins partitioning the range of xbnds.
horizontal and vertical limits of the binning region in x or y units respectively; must be numeric vector of length 2.
the shape = yheight/xwidth of the plotting regions.
Takes a grid defined by either the hexbin parameters or dimen in a hexbin object and translates the cell ids for the grid into 2d integer coordinates.
An integer matrix with two columns, i and j representing the integer xy coordinates of the hexagon grid.
Integer coordiante of the rows, increases from bottom to top
Integer coordiante of the columns, increases from left to right