hotspot_grid | R Documentation |
Create either a rectangular or hexagonal two-dimensional grid
hotspot_grid(data, cell_size = NULL, grid_type = "rect", quiet = FALSE, ...)
data |
|
cell_size |
|
grid_type |
|
quiet |
if set to |
... |
Further arguments passed to |
A simple features tibble containing polygons representing grid cells.
The grid will be based on the convex hull of data
, expanded by a
buffer of cell_size / 2
to ensure all the points in data
fall
within the resulting grid.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.