Description Usage Arguments Details Value Author(s) References See Also Examples
This function performs the Rayleigh test of uniformity.
1 | RayleighTest(azimuths)
|
azimuths |
Vector containing the values of the azimuths |
This test detects a single modal direction in a sample of azimuths when the mean azimuth is unspecified. The hypothesis of uniformity is rejected if the mean module is very large. This test assumes that a large mean module implies a high concentration around the mean and, therefore, less probability that the data are uniformly distributed.
One way to obtain a set of azimuths from X and Y coordinates of the vectors is to use the LoadData
function.
Returns the value of the probability of accepting the hypothesis of uniformity.
Ruiz-Cuetos, J.C., jcruizcue@gmail.com, Felicisimo, A.M., amfeli@unex.es, Cuartero, A., acuartero@unex.es, Polo, M.E., mepolo@unex.es, Rodriguez, P.G. pablogr@unex.es
Fisher N.I. (1995) Statistical analysis of circular data. Cambridge. Cambridge University Press.
Website http://gim.unex.es/VecStatGraphs2D/
1 2 3 4 | FileName<-system.file("data/RectangularData.txt", package="VecStatGraphs2D")
dat<-LoadData(FileName, Type=2)
azimuths<-dat[,2]
RayleighTest(azimuths)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.