Description Usage Arguments Author(s) References See Also Examples
Function cmhist
can be used to plot 2dimensional
histograms and rose diagrams for circular data with multiple classes.
The histograms are stacked to avoid any overlap.
1 2 3 4 5 
value 
a numeric vector storing angular values between 0 and 2 pi, or an object that can be coerced to. 
class 
a character vector specifying the group the 
nbins 
the number of bins of the circular histogram. Internally, it is rounded to a multiple of 4. 
radius 
the radius of the reference circle. If 
area.prop 
logical; if 
prob 
logical; if 
proportion 
logical; if 
total.area 
a positive number specifying the total area under all the
histograms. If 
nlabels 
integer, for the number of levels to be plotted; if

cols 
the colors to fill the bars, with the same order as the class. 
borders 
the colors of the border around the bars. 
m 
the number of points within each bin to plot the circular histogram. The larger the number is, the smoother the plot looks. 
xlim 
numeric vectors of length 2, giving the x coordinates ranges. 
ylim 
numeric vectors of length 2, giving the y coordinates ranges. 
main 
the main title (on top) 
type 
the type of circular data, one of the values 
x.legend 
x coordinate to plot the legend. 
y.legend 
y coordinate to plot the legend. 
Danli Xu <dxu452@aucklanduni.ac.nz>, Yong Wang <yongwang@auckland.ac.nz>
Xu, D. and Wang, Y. (2019) Areaproportional Visualization for Circular Data (submitted).
1 2 3 4 5 6 7 8 9 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.