calc_distbearing: Distance and Bearing

View source: R/availability.R

calc_distbearingR Documentation

Distance and Bearing

Description

Calculate distances in metres and bearing between successive points along track.

Usage

calc_distbearing(lonlat)

Arguments

lonlat

a 2-column matrix or dataframe with longitude and latitude of each point

Details

This is an internal function used by randomize_track.

Value

A dataframe with columns

lon

the longitude of the randomized track

lat

the latitude of the randomized track


AustralianAntarcticDataCentre/availability documentation built on Oct. 11, 2023, 7:26 a.m.