Description Usage Arguments Value Author(s) Examples
Function to calculate the distance d
given an area size (in square
kilometres) of a hexagon in a hexagonal spatial grid determining spatial
resolution of spatial sampling
1 | calculate_d(area, geom = c("tri", "hex"))
|
area |
Area (square kilometres) of a hexagon in a hexagonal grid. Determines the spatial resolution of the resulting spatial sample. |
geom |
Spatial geometry to which |
A numeric value for length (kilometres) of d
Ernest Guevarra based on equations by Mark Myatt
1 2 3 4 5 | # Calculate d for a triangle with an area size of 130 square kilometres
calculate_d(area = 130, geom = "tri")
# Calculate d for a hexagon with an area size of 260 square kilometres
calculate_d(area = 260, geom = "hex")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.