MeanDirection3D: Calculation of the Mean Direction of the angles.

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

View source: R/MeanDirection3D.R

Description

This function calculates the Mean Direction of a set of input coordinates.

Usage

1

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 direction value of all input coordinates. The value is expressed in sexagesimal.

Author(s)

Ruiz-Cuetos, J.C., bilba_t@hotmail.com, Polo, M.E., mepolo@unex.es, Rodriguez, P.G. pablogr@unex.es

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, MeanModule3D, SphericalStandardError3D, ConcentrationParameter3D.

Examples

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

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

Search within the VecStatGraphs3D package
Search all R packages, documentation and source code