compute_turn_magnitude: compute turn magnitude

Description Usage Arguments

Description

Due to angles being measured in degrees modulo 360 it can be annoying to determine the magnitude of a turn from, for example, 310 degrees to 30 degrees. This function simplifies the operation.

Usage

1
compute_turn_magnitude(angle1, angle2, turn_direction = "closest")

Arguments

angle1

numeric vector, initial heading in degrees

angle2

numeric vector, terminal heading in degrees

turn_direction

character string, should be one of "closest", "left", "right"


mitre/earthtools documentation built on May 21, 2019, 1:19 p.m.