Description Usage Arguments Value Examples
Builds a weighted neighbouring object containing the k-nearest neighbours as well as the distances to them, from a matrix of longitude/latitude coordinates.
1 |
coords |
Matrix of plot coordinates in longitude and latitude, with plot IDs as row names. |
k |
Number of neighbours to determine. |
verbose |
Boolean flag to turn on console output informing of the calculation process. |
An object of class list
with elements 'neighbours' and 'distances'. Plot IDs are stored in attribute 'IDs'
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.