HR_test {CircMLE} | R Documentation |
Perform variants of the Hermans-Rasson test.
HR_test(data, original = F, iter = 9999)
data |
A vector of class 'circular', or numeric vector of angles measured in radians |
original |
A logical of whether or not to run the original version of the Hermans-Rasson test or the newer version described in Landler et al. (2019) doi: 10.1186/s12898-019-0246-8 (default = F) |
iter |
The number of bootstrap replicates to perform in order to estimate the p-value of the test. (default = 9999) |
A numeric vector of the test statistic (T) and associated p-value
testdata = circular::rvonmises(20, mu = circular::circular(pi), kappa = 3)
HR_test(testdata, iter = 999)