MeanModule3D: Calculation of the Mean Module of the angles.

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/MeanModule3D.R

Description

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

Usage

1
MeanModule3D(coord)

Arguments

coord

Matrix containing the values of the 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.

Value

The mean module value of all input coordinates.

Author(s)

Ruiz-Cuetos, J.C., [email protected], Polo, M.E., [email protected], Rodriguez, P.G. [email protected]

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

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

VecStatGraphs3D documentation built on May 29, 2017, 10:51 a.m.