var.circular: A measure of variance for Circular Data

Description Usage Arguments Value Author(s) References See Also Examples

Description

Returns one minus the mean resultant length divided by the sample size of a vector of circular data.

Usage

1
2
## S3 method for class 'circular'
var(x, na.rm = FALSE, ...)

Arguments

x

a vector. The object is coerced to class circular.

na.rm

logical, indicating if NA's should be omitted.

...

further arguments passed to or from other methods.

Value

Returns one minus the mean resultant length divided by the sample size of data.

Author(s)

Claudio Agostinelli and Ulric Lund

References

Mardia, K.V. (1972) Statistics of Directional Data. Academic Press, London.

Fisher, N.I. (1993) Statistical analysis of circular data. Cambridge University Press.

Jammalamadaka, S. Rao and SenGupta, A. (2001). Topics in Circular Statistics, Section 1.3, World Scientific Press, Singapore.

See Also

sd.circular, angular.variance, mean.circular, rho.circular and summary.circular.

Examples

1
2
x <- rvonmises(n=100, mu=circular(0), kappa=1)
var(x)

Example output

Attaching package: 'circular'

The following objects are masked from 'package:stats':

    sd, var

[1] 0.5810964

circular documentation built on May 2, 2019, 4:42 p.m.