is.inside | R Documentation |
Useful to determine if a set of coordinates lies inside or outside a closed polygon. Currently works for 2D coordinates such as x,y or lat,lon. Example box argument: box = data.frame(x = c(-1, 1, 1, -1), y = c(1, 1, -1, -1)).
is.inside(pos, box, verbose = FALSE)
Thomas Bryce Kelly
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.