get_cell_vertex {h3jsr} | R Documentation |
Get a vertex index
Description
This function returns the vertex index for a supplied H3 cell and vertex number.
Usage
get_cell_vertex(h3_address = NULL, v_num = 0, simple = TRUE)
Arguments
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. |
Value
By default, a list of length(h3_address)
.
Examples
# Get vertex 3 for this cell
get_cell_vertex(h3_address = '86be8d12fffffff', 3)
[Package h3jsr version 1.3.1 Index]