Skip to contents

Normalizes the angle between two directions to the acute angle in between, i.e. angles between 0 and 90<U+00B0>

Usage

deviation_norm(x)

Arguments

x

numeric vector containing angles in degrees

Value

numeric vector, acute angles between two directions, i.e. values between 0 and 90<U+00B0>

Author

Tobias Stephan

Examples

deviation_norm(91)
#> [1] 89
deviation_norm(c(-91, NA, 23497349))
#> [1] 89 NA 31