compactCells {h3r}R Documentation

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)

Arguments

cellSet

list of character vectors containing to be compacted H3 cell indexes

Value

a list of character vectors containing the compacted H3 cell indexes

Examples


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


[Package h3r version 0.1.1 Index]