is_valid_edge {h3jsr} | R Documentation |
Check H3 unidirectional edge index
Description
This function checks whether an H3 unidirectional edge index is valid.
Usage
is_valid_edge(h3_edge = NULL, simple = TRUE)
Arguments
h3_edge |
Character; address of unidirectional edge. |
simple |
Logical; whether to return a vector of outputs or a data frame containing both inputs and outputs. |
Value
By default, a logical vector of length(h3_edge)
.
Examples
# is the following unidirectional edge index valid?
is_valid_edge(h3_edge = '166be8d12fffffff')
[Package h3jsr version 1.3.1 Index]