engine_sf_regular | R Documentation |
sf
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.
engine_sf_regular(shp, col)
shp |
input shp with |
col |
character column name to produce points with |
tibble with sf
geometries
set.seed(1) data('suffolk') engine_sf_regular(suffolk[16:20,], 'pop_nhpi')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.