R/angular-math.R
mean_azimuth.RdSee this slide deck where Bryan pulled this formula from: http://webspace.ship.edu/pgmarr/Geo441/Lectures/Lec%2016%20-%20Directional%20Statistics.pdf
mean_azimuth(azi, len)Azimuth of line in decimal degrees
Length of line in planar unit (e.g., feet)
Weighted average azmimuth of line segments in decimal degrees