Learn R Programming

VecStatGraphs2D (version 1.6)

ModuleSum: Calculation of the sum of the modules

Description

This function calculates the sum of all modules.

Usage

ModuleSum(modules)

Arguments

modules
Vector containing the values of the module

Value

  • The sum of all input modules.

Details

One way to obtain a set of modules from X and Y coordinates of the vectors is to use the LoadData function.

References

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

See Also

NumberOfElements, MaxValue, MinValue, Range, ArithmeticMean, StandardError, ModuleStandardDeviation, ModuleVariance, ModulePopulationVariance, ModulePopulationStandardDeviation, SkewnessModuleCoefficient, KurtosisModuleCoefficient, AllModuleStatistics.

Examples

Run this code
FileName<-system.file("data/RectangularData.txt", package="VecStatGraphs2D")
   dat<-LoadData(FileName, Type=2, Direction=2)
   modules<-dat[,1]
   ModuleSum(modules)

Run the code above in your browser using DataLab