An S4 class representing hexified data. Contains the original user data plus cell assignments from the hexification process.
Details
HexData objects are created by hexify. The original data
is preserved in the data slot, while cell assignments are stored
separately in cell_id and cell_center.
Use as.data.frame() to get a combined data frame with cell columns.
Slots
dataData frame or sf object. The original user data (untouched).
gridHexGridInfo object. The grid specification used.
cell_idNumeric vector. Cell IDs for each row of data.
cell_centerMatrix. Two-column matrix (lon, lat) of cell centers.
See also
hexify for creating HexData objects,
HexGridInfo-class for grid specifications