phaseDist | R Documentation |
calculates the circular mean and R statistics, copied from package
CircStats
and after
http://en.wikipedia.org/wiki/Directional_statistics#Measures_of_location_and_spread and
https://en.wikipedia.org/wiki/Mean_of_circular_quantities
TODO: recognize bimodal?
phaseDist(phs, w, degrees = TRUE)
phs |
vector of phases in degrees |
w |
optional weights for weighted mean |
degrees |
phases are in degrees (0-360), set FALSE for radians |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.