deviation_norm | R Documentation |
Normalizes the angle between two directions to the acute angle
in between, i.e. angles between 0 and 90^\circ
deviation_norm(x, y = NULL)
x , y |
Minuend and subtrahend. Both numeric vectors of angles in degrees.
If |
numeric vector, acute angles between two directions, i.e. values
between 0 and 90^\circ
Tobias Stephan
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.