Learn R Programming

VecStatGraphs2D (version 1.6)

ArithmeticMean: Calculation of the Arithmetic Mean of the modules

Description

This function calculates the arithmetic mean of a set of modules

Usage

ArithmeticMean(modules)

Arguments

modules
Vector containing the values of the modules

Value

  • The arithmetic mean value 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, ModuleSum, 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]
   ArithmeticMean(modules)

Run the code above in your browser using DataLab