mean_degrees | R Documentation |
Mean angle in degrees
mean_degrees(x, seed = 1, ...)
x |
|
seed |
|
... |
additional arguments are ignored. |
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.
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.
Other venndir spatial:
degrees_to_adj()
,
diff_degrees()
,
display_angles()
,
mean_degree_arc()
,
rescale_coordinates()
,
spread_degrees()
mean_degrees(c(355, 15))
mean_degrees(c(355, 15, 10))
mean_degrees(c(0, 180))
mean_degrees(c(0, 270))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.