Learn R Programming

VecStatGraphs2D (version 1.6)

NumberOfElements: Calculation of the number of elements of the modules

Description

This function calculates the number of elements of a set of modules

Usage

NumberOfElements(modules)

Arguments

modules
Vector containing the values of the modules

Value

  • The number of elements 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

MaxValue, MinValue, Range, ModuleSum, 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]
   NumberOfElements(modules)

Run the code above in your browser using DataLab