get_cell_vertex | R Documentation |
This function returns the vertex index for a supplied H3 cell and vertex number.
get_cell_vertex(h3_address = NULL, v_num = 0, simple = TRUE)
h3_address |
Character; 15-character cell index generated by H3. A vector of indexes can also be supplied. |
v_num |
Numeric; the vertex number required. Options are 0-5 inclusive. |
simple |
Logical; whether to return a vector of outputs or a data frame containing both inputs and outputs. |
By default, a list of length(h3_address)
.
# Get vertex 3 for this cell get_cell_vertex(h3_address = '86be8d12fffffff', 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.