Learn R Programming

h3r (version 0.1.2)

compactCells: Compacts the set cellSet of indexes as best as possible, into the array compactedSet.

Description

Compacts the set cellSet of indexes as best as possible, into the array compactedSet.

Usage

compactCells(cellSet)

Value

a list of character vectors containing the compacted H3 cell indexes

Arguments

cellSet

list of character vectors containing to be compacted H3 cell indexes

Examples

Run this code

compactCells(gridDisk(cell = c("8cbe63562a54bff","8cbe635631103ff"), k = c(1L, 2L)))

Run the code above in your browser using DataLab