getColDist: Calculates the distance between the colony (or any fixed...

View source: R/General_Functions.R

getColDistR Documentation

Calculates the distance between the colony (or any fixed location) and each point in a track.

Description

Calculates the distance between the colony (or any fixed location) and each point in a track.

Usage

getColDist(lon, lat, colonyLon, colonyLat)

Arguments

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).

Value

A vector of values (in km) giving the distance between each location in the track and the colony (or fixed location).


allisonglider/seabiRds documentation built on Feb. 14, 2025, 7:37 a.m.