Converts azimuth angles into Cardinal directions
See also
Other parse-orientations:
Fault_from_rake_quadrant(),
quadrant2dd(),
sense_from_strikeslip(),
split(),
strikeslip_kinematics()
Examples
azimuth_to_cardinal(c(0, 23, 45, 100, 190, 270, 350), 4) # 8-point compass
#> [1] "N" "N" "E" "E" "S" "W" "N"
azimuth_to_cardinal(c(0, 23, 45, 100, 190, 270, 350), 8) # 8-point compass
#> [1] "N" "NE" "NE" "E" "S" "W" "N"
azimuth_to_cardinal(c(0, 23, 45, 100, 190, 270, 350), 16) # 16-point compass
#> [1] "N" "NNE" "NE" "E" "S" "W" "N"
