View source: R/find_neighbor.r
find_neighbor finds the closest value index in y for each x,
using findInterval. Returns the index to be applied to y that most
closely matches x.
| 1 | find_neighbor(x, y)
 | 
| x | desired values | 
| y | table to search values | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.