Learn R Programming

VecStatGraphs2D (version 1.8)

MedianAzimuth: Calculation of the median azimuth of the azimuths

Description

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

Usage

MedianAzimuth(azimuths)

Arguments

azimuths
Vector containing the values of the azimuths

Value

The value median 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]
   MedianAzimuth(azimuths)

Run the code above in your browser using DataLab