Learn R Programming

VecStatGraphs3D (version 1.6)

AllAngleStatistics: Calculation of All Statistics of the Angle.

Description

This function calculates several statistics for unit and non-unit vectors from a set of input coordinates.

Usage

AllAngleStatistics(incr, ndig=4)

Arguments

incr
Matrix containing the values of the coordinates
ndig
Integer value that indicates the decimal places. The default value is 4

Value

The value All Angle Statistics of all input X, Y and Z 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. The statistics calculated are: Spherical Standar Error, Mean Module, Concentration Parameter, Mean Direction.

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

MeanModule3D,\ MeanDirection3D, SphericalStandardError3D, ConcentrationParameter3D.

Examples

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

Run the code above in your browser using DataLab