Learn R Programming

h3r (version 0.1.2)

isPentagon: Is Pentagon

Description

Returns non-zero if this index represents a pentagonal cell.

Usage

isPentagon(cell)

Value

a vector the same length as cell indicating if the cell is Class II

Arguments

cell

vector of H3 cells

Examples

Run this code

isPentagon(cell = c("8cbe63562a54bff","8cbe635631103ff"))

Run the code above in your browser using DataLab