You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docs show s2_cell_child(x, k) where k is an integer between 1 and 4 -- but pretty sure there's a zero-index on this and k is between 0 and 3.
example:
lapply(1L:4L, (function(k) s2::s2_cell_child(as_s2_cell("883b4"), k)))
# three child cells shown but last element is NA
lapply(0L:3L, (function(k) s2::s2_cell_child(as_s2_cell("883b4"), k)))
# all four child cells are valid
Can't tell if this is just a simple documentation fix, or if it might mean other off-by-one issues in functions using s2_cell_child.
The text was updated successfully, but these errors were encountered:
The docs show
s2_cell_child(x, k)
wherek
is an integer between 1 and 4 -- but pretty sure there's a zero-index on this andk
is between 0 and 3.example:
Can't tell if this is just a simple documentation fix, or if it might mean other off-by-one issues in functions using s2_cell_child.
The text was updated successfully, but these errors were encountered: