| new_hex_data | R Documentation |
Internal constructor for HexData objects. Users should use hexify()
instead.
new_hex_data(data, grid, cell_id, cell_center)
data |
Data frame or sf object (original user data, untouched) |
grid |
HexGridInfo object |
cell_id |
Numeric vector of cell IDs for each row |
cell_center |
Matrix with columns lon, lat for cell centers |
A HexData object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.