edge_length {h3jsr} | R Documentation |
Get exact cell edge length
Description
This function calculates the exact length of an H3 cell edge.
Usage
edge_length(h3_edge = NULL, units = c("m", "km", "rads"), simple = TRUE)
Arguments
h3_edge |
Character; address of unidirectional edge. |
units |
Length unit to report in. Options are meters, kilometers, or radians. |
simple |
Logical; whether to return a vector of outputs or a data frame containing both inputs and outputs. |
Value
By default, a numeric vector of length(h3_address).
Examples
edge_length(h3_edge = '166be8d12fffffff', 'm')
[Package h3jsr version 1.3.1 Index]