Dist2Colony | R Documentation |
Calculate the distance of a vector of points (lat,long) to a fixed point
Dist2Colony(tracks, dataLat = "lat", dataLon = "lon", ColonyLat, ColonyLong)
tracks |
a dataframe |
dataLat |
quoted latitude |
dataLon |
quoted longitude |
ColonyLat |
a latitude value of length = 1 |
ColonyLong |
a longitude value of length = 1 |
a vector of distances from adjacent points in kilometers
Abram B. Fleishman abram@conservationmetrics.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.