find_nn | R Documentation |
Find nearest neighbors based on a tapered covariance matrix
find_nn(locs, datum, m, tapering_range = 0.4)
locs |
matrix of locations of points (to match input argument of fields::rdist) |
datum |
Data where column i corresponds to observations at the i'th point of locs |
m |
number of neighbors |
tapering_range |
Percentage of the maximum distance for Exponential tapering, which defaults to 0.4 * the maximum distance. |
a matrix of nearest neighbors of dimension n x m
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.