Determines which point in a list is closest to the input.

1 | ```
findNearestPoint(x, y, points, eps, deep = TRUE)
``` |

`x` |
A numeric x coordinate. |

`y` |
A numeric y coordinate. |

`points` |
A list comprised of x coordinates, y coordinates, such as output by |

`eps` |
An epsilon, expected to already be squared, used to determine when a point is close enough. Only important if |

`deep` |
If true, only return a point if it is within epsilon distance. Otherwise, return the closest point. |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.