Learn R Programming

VecStatGraphs2D (version 1.8)

MeanAzimuth: Calculation of the mean azimuth of the azimuths

Description

This function calculates the mean azimuth of a set of input azimuths.

Usage

MeanAzimuth(azimuths)

Arguments

azimuths
Vector containing the values of the azimuths

Value

The value mean azimuth of all input azimuths. The value is expressed in sexagesimal.

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

MeanModule, 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]
   MeanAzimuth(azimuths)

Run the code above in your browser using DataLab