View source: R/hexify_cell_to_sf.R
| hex_corners_to_sf | R Documentation |
Low-level helper to create a single hexagon polygon from corner coordinates.
Most users should use cell_to_sf instead.
hex_corners_to_sf(lon, lat, crs = 4326)
lon |
numeric vector of length 6 (longitude) |
lat |
numeric vector of length 6 (latitude) |
crs |
integer CRS (default 4326) |
sf object with one POLYGON geometry
Other sf conversion:
hexify_cell_to_sf(),
hexify_grid_global(),
hexify_grid_rect()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.