View source: R/General_Functions.R
getColDist | R Documentation |
Calculates the distance between the colony (or any fixed location) and each point in a track.
getColDist(lon, lat, colonyLon, colonyLat)
lon |
A vector of longitude values. |
lat |
A vector of latitude values. |
colonyLon |
Longitude of the colony (or fixed location). |
colonyLat |
Latitude of the colony (or fixed location). |
A vector of values (in km) giving the distance between each location in the track and the colony (or fixed location).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.