CircularBoxplot {bpDir} | R Documentation |
Circular Box-and-Wisker Plot
Description
The CircularBoxplot function produces a box-and-whisker-plot for circular data.
Usage
CircularBoxplot ( A, template="degrees", place="none", units="degrees", marg=
"large", shrink = 1.5, H=FALSE, stack=FALSE, constant=
"optimal")
Arguments
A |
numeric; a vector of class circular in |
template |
character; graphical parameter to set the template to be used in the plot. Options are |
place |
character; graphical parameter. Active only when |
units |
character; graphical parameter to select the unit of measure to be displayed on the axes when |
marg |
character; graphical parameter to set the plot region to either |
shrink |
numeric; graphical parameter to control the size of the plotted circle. Default is 1.5. Larger values shrink the circle, while smaller values enlarge the circle. |
H |
logical; graphical parameter to specify if observations between the hinges and the whiskers are plotted. Default is |
stack |
If |
constant |
numeric; the boxplot multiplying factor (or "constant") that determines how far the fences extend out from the box. When |
Details
The arguments stack
, shrink
are parameters passed to plot.circular.
Value
farout |
a vector of class circular in radians, containing the values of the points lying outside the whiskers. |
statistics |
a dataframe of summary statistics in degrees: circular median, hinges and whiskers. |
constant |
the value of the constant used to draw the boxplot. |
Author(s)
Davide Buttarazzi
References
Buttarazzi D., Pandolfo G., Porzio G.C. (2018). A boxplot for circular data, Biometrics.
Examples
# Circular Boxplot on Vanishing directions of homing pigeons
#install.packages("circular")
#install.packages("plotrix")
require(circular)
require(plotrix)
#help(fisherB12c)
data(fisherB12c)
CircularBoxplot(fisherB12c, template="geographics")