The mean direction: the angle of the vector sum of the unit vectors pointing along each observation.
Details
The mean is signed, in (-pi, pi], the range the suite uses for every
direction (see wrap_angle()), so it can be compared directly with the
angles it summarises. Wrap it with wrap_angle(x, "2pi") for [0, 2*pi).
See also
Other circular statistics:
circ_difference(),
circ_mad(),
circ_median(),
circ_sd(),
circ_successive_difference()
Examples
# 10 degrees; an arithmetic mean would say 190
rad_to_deg(circ_mean(deg_to_rad(c(350, 30))))
#> [1] 10
# -10 degrees, in the range of the angles themselves
rad_to_deg(circ_mean(deg_to_rad(c(-30, 10))))
#> [1] -10