trackBearingChange: Distance along a path

View source: R/SGAT.R

trackBearingChangeR Documentation

Distance along a path

Description

Bearing changes along a track

Usage

trackBearingChange(x)

trackBearingChange2(x, z)

Arguments

x

a two column matrix of (lon,lat) locations along the path.

z

a two column matrix of (lon,lat) intermediate locations along the path.

Details

The trackBearingChange computes the change in bearing between successive locations along path. The trackBearingChange2 accepts a second sequence of intermediate points, and computes the change in bearing along the dog leg paths from x[i,] to z[i,] to x[i+1,].

Value

vector of changes in bearing (degrees)


SWotherspoon/SGAT documentation built on June 1, 2022, 10:49 p.m.