
Test whether groups share the same concentration (dispersion)
Source:R/circular_statistics.R
test_concentration.RdTwo tests are available:
parametric = TRUE(default)Likelihood-ratio test for equal von Mises \(\kappa\) across groups (
equal.kappa.test). Returns a chi-squared statistic with \(k-1\) degrees of freedom.parametric = FALSEWallraff's non-parametric test for equal angular dispersions – no distributional assumption required.
Arguments
- hd
Data frame with heading and group columns.
- group_col
Column identifying conditions or groups.
- angle_col
Heading column in radians. Default
"heading".- parametric
Logical.
TRUE(default) usesequal.kappa.test;FALSEuseswallraff.test.- axial
Logical. Treat the angles as axial (bidirectional, mod-pi) data: the test is run via the angle-doubling method, comparing axial concentrations. Default `FALSE` (ordinary directional data).