Learn R Programming

Directional (version 7.0)

Column-wise uniformity Watson test for circular data: Column-wise uniformity tests for circular data

Description

Column-wise uniformity tests for circular data.

Usage

colwatsons(u, rads = FALSE)

Value

A matrix with two columns, the value of the test statistic and its associated p-value.

Arguments

u

A numeric matrix containing the circular data which are expressed in radians. Each column is a different sample.

rads

A boolean variable. If the data are in radians, put this TRUE. If the data are expressed in degrees make this FALSE.

Author

Michail Tsagris.

R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.

Details

These tests are used to test the hypothesis that the data come from a circular uniform distribution.

References

Jammalamadaka S. Rao and SenGupta A. (2001). Topics in Circular Statistics, pg. 156--157.

See Also

watson, kuiper, fishkent

Examples

Run this code
x <- matrix( rvonmises(n = 50 * 10, m = 2, k = 0), ncol = 10 )
res<-colwatsons(x)
x <- NULL

Run the code above in your browser using DataLab