st_knn | R Documentation |
Calculate K-Nearest Neighbors
st_knn(x, k = 1, ...)
x |
An sf or sfc object. |
Other neighbors:
st_contiguity()
,
st_nb_band()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.