Learn R Programming

VecStatGraphs3D (version 1.6)

MeanModule3D: Calculation of the Mean Module of the angles.

Description

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

Usage

MeanModule3D(coord)

Arguments

coord
Matrix containing the values of the coordinates

Value

The mean module value of all input coordinates.

Details

One way to get a set of coordinates X, Y and Z of the origin position and end position (coordinates X, Y and Z of the vector) or of the colatitude and longitude, it is using the LoadData3D function.

References

Fisher N.I. , Lewis T. , Embleton, B.J.J. (1987) Statistical analysis of spherical data. Cambridge. Cambridge University Press.

Website http://gim.unex.es/VecStatGraphs3D/

See Also

AllAngleStatistics, MeanDirection3D, SphericalStandardError3D, ConcentrationParameter3D.

Examples

Run this code
   FileName<-system.file("data/XYZcoor.txt", package="VecStatGraphs3D")
   dat<-LoadData3D(FileName, Type=1)
   coordinates<-dat[,4:6]
   MeanModule3D(coordinates)

Run the code above in your browser using DataLab