Learn R Programming

hexify (version 0.3.8)

hexify_compare_indices: Compare two indices

Description

Lexicographic comparison of two index strings.

Usage

hexify_compare_indices(idx1, idx2)

Value

Integer: -1 if idx1 < idx2, 0 if equal, 1 if idx1 > idx2

Arguments

idx1

First index string

idx2

Second index string

See Also

Other hierarchical index: hexify_cell_to_index(), hexify_default_index_type(), hexify_get_children(), hexify_get_parent(), hexify_get_resolution(), hexify_index_to_cell(), hexify_index_to_lonlat(), hexify_is_valid_index_type(), hexify_lonlat_to_index(), hexify_z7_canonical()