Computes the V-test for circular data, testing whether the population is
non-uniformly distributed with a specified mean direction. Port of MATLAB
circ_vtest from the Circular Statistics Toolbox (Berens, 2009).
Details
The V-test is more powerful than the Rayleigh test when there is reason to believe in a specific mean direction.
References
Berens P (2009). CircStat: A MATLAB Toolbox for Circular Statistics. Journal of Statistical Software, 31(10), 1-21.
Zar JH (2010). Biostatistical Analysis. 5th ed. Prentice Hall.
Examples
# Test if data clusters around 0
angles <- rnorm(50, mean = 0, sd = 0.5)
result <- circ_vtest(angles, dir = 0)
result$pval
#> [1] 0