MinDist | R Documentation |
MinDist finds which is the minimum distance between point P0 and points P1, P2
MinDist(posP0, posP1, posP2)
posP0 |
numeric position of probe point |
posP1 |
numeric position of reference point 1 |
posP2 |
numeric position of reference point 2 |
Returns index 1 or 2 indicating min distance from P1 or P2
## Not run:
MinDist(posP0, posP1, posP2)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.