Learn R Programming

h3jsr (version 1.3.1)

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

Value

By default, a numeric vector of length(h3_address).

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.

Examples

Run this code
edge_length(h3_edge = '166be8d12fffffff', 'm')

Run the code above in your browser using DataLab