Tests the null hypothesis that the angles are uniformly distributed on the circle (no preferred direction) against a unimodal concentration. A small p-value means the angles cluster around a mean direction – e.g. that a coupling angle is consistently in-phase rather than random.
Usage
rayleighTest(angles, units = c("degrees", "radians"))Value
an htest: Rayleigh Z = n * rbar^2, p.value (Zar 1999
approximation), and the estimated mean direction.