isNearCoast | R Documentation |
Determine the proximity to coast of points
isNearCoast(
dataPoints,
colLon = "lon",
colLat = "lat",
units = "m",
distance = 20
)
dataPoints |
|
colLon |
Name of column which contains Longitude info. |
colLat |
Name of column which contains Latitude info. |
units |
Which units do you want to use for measuring the proximity to coast. |
distance |
Maximum distance (in degrees) to make the searching. |
A logical
vector indicating whether the coordinates belong to the area between
the coast line and a buffer of the selected distance.
isNearCoast(c(-81.191, -5.211), distance = 20)
isNearCoast(c(-81.191, -5.211), distance = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.