Learn R Programming

h3jsr (version 1.3.1)

is_valid_edge: 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)

Value

By default, a logical vector of length(h3_edge).

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.

Examples

Run this code
# is the following unidirectional edge index valid?
is_valid_edge(h3_edge = '166be8d12fffffff')

Run the code above in your browser using DataLab