Learn R Programming

h3r (version 0.1.2)

gridRingUnsafe: Grid Ring Unsafe

Description

Produces the hollow hexagonal ring centered at origin with sides of length k.

Usage

gridRingUnsafe(cell, k)

Value

the indices of the hollow hexagonal ring centered at origin with sides of length k.

Arguments

cell

vector of H3 cells

k

side length

Examples

Run this code

gridRingUnsafe(cell = c("8cbe63562a54bff","85283473fffffff"), k = c(2L, 1L))

Run the code above in your browser using DataLab