| engine_sf_hexagonal {dots} | R Documentation |
Generate Hexagonal Points with sf
Description
Uses sf::st_sample() to produce points and spatial joins with input shp.
Each engine function takes the same arguments and produces comparable outputs.
Final number of points may be approximate for this method.
Usage
engine_sf_hexagonal(shp, col)
Arguments
shp |
input shp with |
col |
character column name to produce points with |
Value
tibble with sf geometries
Examples
set.seed(1)
data('suffolk')
engine_sf_hexagonal(suffolk[16:20,], 'pop_nhpi')
[Package dots version 0.0.2 Index]