neibo | R Documentation |
this function using pre-sorting of a y and the binary search the one of the k closest value for each miss is returned.
neibo(y, miss, k)
y |
numeric vector values to be look up |
miss |
numeric vector a values to be look for |
k |
integer a number of values which should be taken into account during sampling one of the k closest point |
a numeric vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.