h3_is_pentagon: Check Pentagon

Description Usage Arguments Value Examples

View source: R/h3-assertions.R

Description

Check whether pentagons are valid.

Usage

1

Arguments

data

A data.frame or character vector, if the former is specified then the hex argument must be passed, specifying the bare column name containing hexagon indices.

...

Other arguments passed to methods.

Value

A vector or original data.frame as tibble with an additional column as specified by .name which defaults to is_pentagon.

Examples

1
h3_is_pentagon("invalid")

JohnCoene/h3inr documentation built on Oct. 30, 2019, 7:57 p.m.