Learn R Programming

VecStatGraphs3D (version 1.6)

NumberOfElements3D: Calculation of the Number of Elements of the modules.

Description

This function calculates the Number of Elements of a set of modules

Usage

NumberOfElements3D(modules)

Arguments

modules
Vector containing the values of the modules

Value

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

AllModuleStatistics3D, MaxValue3D, MinValue3D, Range3D, 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]
   NumberOfElements3D(modules)

Run the code above in your browser using DataLab