deviation_norm {tectonicr} | R Documentation |
Normalize Angle Between Two Directions
Description
Normalizes the angle between two directions to the acute angle
in between, i.e. angles between 0 and 90^\circ
Usage
deviation_norm(x, y = NULL)
Arguments
x , y |
Minuend and subtrahend. Both numeric vectors of angles in degrees.
If |
Value
numeric vector, acute angles between two directions, i.e. values
between 0 and 90^\circ
Author(s)
Tobias Stephan
Examples
deviation_norm(175, 5)
deviation_norm(c(175, 95, 0), c(5, 85, NA))
deviation_norm(c(-5, 85, 95, 175, 185, 265, 275, 355, 365))
[Package tectonicr version 0.3.2 Index]