Mean angle in degrees
Value
numeric
angle in degrees representing the
mean angle of input angles in degrees from x
.
An attribute "radius"
included with the unit
radius from the mean unit vectors. This radius
may be useful as a sort of weight factor.
Details
Simple utility function to calculate the mean angle in degrees using vector directional logic. For each angle, a unit vector is created with radius 1, then the mean point is used to define the new angle.
A small random value is added to each input value to reduce the effect of having identical opposite angles. In that case, the output is a right angle to the input angles.
See also
Other venndir spatial:
degrees_to_adj()
,
diff_degrees()
,
display_angles()
,
mean_degree_arc()
,
rescale_coordinates()
,
spread_degrees()