Description Usage Arguments Details Value Examples
nn3fun
returns a list with the nearest neighbour, order of the donor use, and distance.
1 | nn3fun(id, stratum, values, donor, nvar)
|
id |
Vector with elements identification |
stratum |
Vector with stratum identification |
values |
Vector with variables to compute distance with |
donor |
Class vector for receivers: 0, donors: 1, both: 2 |
nvar |
Number of variables in vector values |
Mahalanobis distance is used
list as said
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.