Learn R Programming

VecStatGraphs2D (version 1.8)

MeanModule: Calculation of the mean module of the azimuths

Description

This function calculates the mean module from a set of input azimuths.

Usage

MeanModule(azimuths)

Arguments

azimuths
Vector containing the values of the azimuths

Value

The value mean module of all input azimuths.

Details

One way to obtain a set of azimuths from X and Y coordinates of the vectors is to use the LoadData function.

References

Fisher N.I. (1995) Statistical analysis of circular data. Cambridge. Cambridge University Press. Website http://gim.unex.es/VecStatGraphs2D/

See Also

MeanAzimuth, CircularVariance, CircularStandardDeviation, CircularDispersal, KurtosisAzimuthCoefficient, VonMisesParameter,

SkewnessAzimuthCoefficient, AllAzimuthStatistics.

Examples

Run this code
   FileName<-system.file("data/RectangularData.txt", package="VecStatGraphs2D")
   dat<-LoadData(FileName, Type=2)
   azimuths<-dat[,2]
   MeanModule(azimuths)

Run the code above in your browser using DataLab