Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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)

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.

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.

References

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

See Also


CircStats

Circular Statistics, from "Topics in Circular Statistics" (2001)

v0.2-6
GPL-2
Authors
S-plus original by Ulric Lund <ulund@calpoly.edu>, R port by Claudio Agostinelli <claudio.agostinelli@unitn.it>
Initial release
2018-06-30

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.