Learn R Programming

trip (version 1.1-1)

trackAngle: Determine distances or angles along a track

Description

Calculate the angles between subsequent 2-D coordinates using Great Circle distance (spherical) methods.

Usage

trackAngle(x)

Arguments

x
trip object, or matrix of 2-columns, with x/y coordinates

Value

  • Vector of angles (degrees) between coordinates.

Details

This is an optimized hybrid of "raster::bearing" and gzAzimuth.