R/angular-math.R
azimuth_difference.RdSee this slide deck where Bryan pulled this formula from: http://webspace.ship.edu/pgmarr/Geo441/Lectures/Lec%2016%20-%20Directional%20Statistics.pdf
azimuth_difference(azi_1, azi_2)First azimuth in decimal degrees
Second azimuth in decimal degrees
Difference in decimal degrees
azimuth_difference(355,10)
#> [1] 15