Learn R Programming

VecStatGraphs3D (version 1.6)

ArithmeticMean3D: Calculation of Mean Arithmetic modules.

Description

This function calculates the arithmetic mean of a set of modules

Usage

ArithmeticMean3D(modules)

Arguments

modules
Vector containing the values of the modules

Value

The arithmetic mean value of all input modules.

Details

One way to get a set of modules from the X, Y and Z in the original position and end position (Coordinates X, Y and Z vector) or the colatitude and longitude, using the LoadData3D function.

References

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

See Also

NumberOfElements3D, MaxValue3D, MinValue3D, Range3D, ModuleSum3D, StandardError3D, ModuleStandardDeviation3D, ModuleVariance3D, ModulePopulationVariance3D, ModulePopulationStandardDeviation3D.

Examples

Run this code
   FileName<-system.file("data/XYZcoor.txt", package="VecStatGraphs3D")
   dat<-LoadData3D(FileName, Type=1)
   modules<-dat[,1]
   ArithmeticMean3D(modules)

Run the code above in your browser using DataLab