cellToVertex | R Documentation |
Returns the index for the specified cell vertex. Valid vertex numbers are between 0 and 5 (inclusive) for hexagonal cells, and 0 and 4 (inclusive) for pentagonal cells.
cellToVertex(cell, vertexNum)
cell |
vector of H3 cells |
vertexNum |
integer giving the vertex number of the index to return |
vector of vertex indexes
cellToVertex(
cell = c(rep("8cbe63562a54bff", 6))
, vertexNum = c(0L:5L)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.