powered by
Creates hexagon polygons covering the entire Earth.
hexify_grid_global(area, aperture = 3L, resround = "nearest")
sf object with hexagon polygons covering the globe
Target cell area in km^2
Grid aperture: 3, 4, or 7
Resolution rounding: "nearest", "up", or "down"
grid_global for the recommended S4 interface, hexify_grid_rect for regional grids
grid_global
hexify_grid_rect
Other sf conversion: hex_corners_to_sf(), hexify_cell_to_sf(), hexify_grid_rect()
hex_corners_to_sf()
hexify_cell_to_sf()
hexify_grid_rect()
library(hexify) library(sf) # Coarse global grid (~100,000 km^2 cells) global_grid <- hexify_grid_global(area = 100000) plot(st_geometry(global_grid), border = "gray")
Run the code above in your browser using DataLab