hex_size: Calculate cellsize value for hexagon grid

View source: R/sf_funcs.R

hex_sizeR Documentation

Calculate cellsize value for hexagon grid

Description

Calculates the appropriate cellsize argument for making a hexagon grid with st_make_grid.

Usage

hex_size(area = NULL, radius = NULL, sep = NULL)

Arguments

area

A value (m^2) for the resulting area of a full hexagon cell

radius

The value for the distance (m) from the centroids to the edge of full hexagon cells.

sep

The distance (m) between centoids of the hexagon grid.

Author(s)

Devin S. Johnson

References

See https://github.com/r-spatial/sf/issues/1505


dsjohnson/crawlUtils documentation built on Sept. 13, 2024, 1:34 p.m.