Learn R Programming

VecStatGraphs3D (version 1.6)

Range3D: 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

Range3D(modules)

Arguments

modules
Vector containing the values of the module

Value

The range value of all input modules.

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.

References

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

See Also

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

Examples

Run this code
   FileName<-system.file("data/XYZcoor.txt", package="VecStatGraphs3D")
   dat<-LoadData3D(FileName, Type=1)
   modules<-dat[,1]
   Range3D(modules)

Run the code above in your browser using DataLab