Learn R Programming

VecStatGraphs2D (version 1.6)

Range: Calculation of the range of the modules

Description

This function calculates the range (difference between maximum and minimum value of the module) of a set of modules

Usage

Range(modules)

Arguments

modules
Vector containing the values of the module

Value

  • The range 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, 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]
   Range(modules)

Run the code above in your browser using DataLab