ModuleSum3D: Calculation of the Sum of the Modules.

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

Description

This function calculates the sum of all modules.

Usage

1
ModuleSum3D(modules)

Arguments

modules

Vector containing the values of the module

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.

Value

The sum of all input modules.

Author(s)

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

References

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

See Also

NumberOfElements3D, MaxValue3D, MinValue3D, Range3D, AllModuleStatistics3D, ArithmeticMean3D, StandardError3D, ModuleStandardDeviation3D, ModuleVariance3D, ModulePopulationVariance3D, ModulePopulationStandardDeviation3D.

Examples

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

Example output

Loading required package: rgl
Loading required package: misc3d
Loading required package: tcltk
Loading required package: MASS
Warning messages:
1: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
2: 'rgl_init' failed, running with rgl.useNULL = TRUE 
3: .onUnload failed in unloadNamespace() for 'rgl', details:
  call: fun(...)
  error: object 'rgl_quit' not found 
4: no DISPLAY variable so Tk is not available 
[1] 53

VecStatGraphs3D documentation built on May 1, 2019, 8:03 p.m.