Performs a Rayleigh test of uniformity, assessing the significance of
the mean resultant length. The alternative hypothesis is a unimodal
distribution with unknown mean direction and unknown mean resultant
NULL otherwise the alternative hypothesis is a unimodal distribution with a specified mean direction and unknown mean resultant length.
1 2 3
a vector. The object is coerced to class
Specified mean direction in alternative hypothesis as a
integer indicating the precision to be used.
further arguments passed to or from other methods.
Returns a list with three components: the mean resultant length,
statistic, the p-value of the test statistic,
the value of the alternative mean direction
Claudio Agostinelli and Ulric Lund
Jammalamadaka, S. Rao and SenGupta, A. (2001). Topics in Circular Statistics, Sections 3.3.2 and 3.4.1, World Scientific Press, Singapore.
1 2 3 4 5
Attaching package: 'circular' The following objects are masked from 'package:stats': sd, var Rayleigh Test of Uniformity General Unimodal Alternative Test Statistic: 0.5242 P-value: 7e-04 Rayleigh Test of Uniformity Alternative with Specified Mean Direction: 0 Test Statistic: -0.5217 P-value: 0.9999
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.