Computes x and y coordinates from hexagonal cell indices.
USAGE:
cell2xy(bin)
REQUIRED ARGUMENTS:
bin:
an object of class "hexbin".
VALUE:
a data frame with components x and y containing the cartesian coordinates
corresponding to the centers of the hexagonal bins described in bin.
DETAILS:
The bin object contains all the information that is usually needed.
This function reduces storage by allowing the user to call it whenever
the lattice center coordinates are needed.
To plot the hexagonal centers use plot(as.list(cell2xy(bin))).
REFERENCES:
Carr, D. B., Olsen, A. R. and White, D. (1992).
Hexagon mosaic maps for display of univariate and bivariate geographical data.
Cartography and Geographics Information Systems,
19, 228-236.