Description Usage Arguments Details Value Author(s) References See Also Examples
Computes the circular range of a data set and performs a test of uniformity if specified.
1 2 3 |
x |
a vector. The object is coerced to class |
test |
logical flag: if TRUE then the test of uniformity is performed; otherwise the test is not performed. Default is FALSE. |
na.rm |
logical, indicating if |
finite |
logical, indicating if all non-finite elements should be omitted. |
control.circular |
the attribute of the resulting object. |
... |
further parameter passed from/to the method. |
The circular range is the shortest arc on the circle containing the entire set of data. The p-value is computed using the exact distribution of the circular range under the hypothesis of uniformity, details can be found in Mardia and Jupp (1999) pag. 107.
Returns the circular range as a circular
object. If the significance test is requested the p-value of the test is returned as p.value.
Claudio Agostinelli and Ulric Lund
K.V. Mardia and P.E. Jupp (1999) Directional Statistics, Wiley.
kuiper.test
, rao.spacing.test
,
rayleigh.test
and watson.test
.
1 2 3 4 |
Attaching package: 'circular'
The following objects are masked from 'package:stats':
sd, var
$range
Circular Data:
Type = angles
Units = radians
Template = none
Modulo = asis
Zero = 0
Rotation = counter
[1] 5.048632
$p.value
[1] 0.001105753
$range
Circular Data:
Type = angles
Units = radians
Template = none
Modulo = asis
Zero = 0
Rotation = counter
[1] 5.778068
$p.value
[1] 0.6201917
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.