in.area | R Documentation |
Check if the given lon-lat pair falls into specific area. The area is a 4-length vector with lon-lat pairs of two points that confine the area boundaries.
in.area(lon, lat, area)
lon, lat |
The point to be checked. |
area |
The area defined by two points c(lon1, lat1, lon2, lat2). |
in.area(120.1, 30.1, c(120.0,30.0,120.5,30.5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.