mean_degree_arc | R Documentation |
Mean arc angle in degrees
mean_degree_arc(x, use_range = FALSE, use_median = FALSE, do_plot = FALSE, ...)
x |
|
use_range |
|
use_median |
|
... |
additional arguments are ignored. |
This function differs from mean_degrees()
in that it finds
the mean angle in degrees from angles along an arc, guaranteeing
that the mean angle is along that numeric arc. It is intended
that the arc does not cover more than 360 degrees, and for angles
whose numeric values are increasing.
Other venndir spatial:
degrees_to_adj()
,
diff_degrees()
,
display_angles()
,
mean_degrees()
,
rescale_coordinates()
,
spread_degrees()
set.seed(1);
steps <- sample((1:12)^1.5, size=14, replace=TRUE);
steps <- sort(steps);
x <- cumsum(steps);
x;
opar <- par("mfrow"=c(2, 3));
on.exit(par(opar));
mean_degree_arc(x, do_plot=TRUE);
mean_degree_arc(x, use_median=TRUE, do_plot=TRUE);
mean_degree_arc(x, use_range=TRUE, do_plot=TRUE);
x <- x + 235;
mean_degree_arc(x, do_plot=TRUE);
mean_degree_arc(x, use_median=TRUE, do_plot=TRUE);
mean_degree_arc(x, use_range=TRUE, do_plot=TRUE);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.