trigonometric.moment: Trigonometric Moments

View source: R/trigonometric.moment.R

trigonometric.momentR Documentation

Trigonometric Moments

Description

Computes the specified order trigonometric moment for a set of directional data points.

Usage

trigonometric.moment(x, p = 1, center = FALSE, control.circular = list())

Arguments

x

a vector of class circular.

p

order of trigonometric moment to be computed. Default is for a first order trigonometric moment.

center

logical, whether to compute centered moments or not. Default is to compute an uncentered moment.

control.circular

the attribute of the resulting object mu.

Value

Returns a list with variables mu, rho, cos, sin, p, n, call, respectively the pth trigonometric moment's direction, resultant length, real and imaginary components, the order, the number of observations and the call.

Author(s)

Claudio Agostinelli and Ulric Lund

References

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

See Also

var.circular, mean.circular, summary.circular, mle.vonmises and rho.circular

Examples


x <- rvonmises(100, circular(0), 5)
trigonometric.moment(x, control.circular=list(units="degrees"))


circular documentation built on Sept. 8, 2023, 6:03 p.m.