hotspot_grid {sfhotspot} | R Documentation |
Create either a rectangular or hexagonal two-dimensional grid
Description
Create either a rectangular or hexagonal two-dimensional grid
Usage
hotspot_grid(data, cell_size = NULL, grid_type = "rect", quiet = FALSE, ...)
Arguments
data |
|
cell_size |
|
grid_type |
|
quiet |
if set to |
... |
Further arguments passed to |
Value
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.