Learn R Programming

VecStatGraphs3D (version 1.6)

ModuleSum3D: Calculation of the Sum of the Modules.

Description

This function calculates the sum of all modules.

Usage

ModuleSum3D(modules)

Arguments

modules
Vector containing the values of the module

Value

The sum 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, AllModuleStatistics3D, ArithmeticMean3D, 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]
   ModuleSum3D(modules)

Run the code above in your browser using DataLab