Learn R Programming

CircStats (version 0.2-7)

trig.moment: Trigonometric Moments

Description

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

Usage

trig.moment(x, p=1, center=FALSE)

Value

Returns a data frame with variables mu.p, rho.p, cos.p, and sin.p, respectively the pth trigonometric moment's direction, resultant length, and real and imaginary components.

Arguments

x

directional data set measured in radians.

p

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

center

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

References

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

See Also

circ.disp, circ.mean, circ.summary, est.kappa, est.rho