Nearest neighbours spatial thinning of polygonal grids
st_thin(x, lag)
x | an sf data.frame. |
---|---|
lag | lag order. |
a thinned sf::st_as_sf()
object.
This function is still under development.
Based on SO answer: https://stackoverflow.com/questions/65907022/
# \dontrun{ require(rangeMapper) con = rmap_connect() wrens = read_wrens() rmap_add_ranges(con, x = wrens, ID = 'sci_name') rmap_prepare(con, 'hex', cellsize=500)#>#>#>#>#>#>#># }