et_turn_magnitude.RdDue 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.
et_turn_magnitude(angle1, angle2, turn_direction = "closest")
| angle1 | numeric vector, initial heading in degrees |
|---|---|
| angle2 | numeric vector, terminal heading in degrees |
| turn_direction | character string, should be one of
|