Last data update: 2014.03.03

R: Geometric Variability
vgeoR Documentation

Geometric Variability

Description

Assume that n units are divided into k groups C1,...,Ck. The function calculates the geometrical variability for each group in data.

Usage

vgeo(d, pert = "onegroup")

Arguments

d

a distance matrix or a dist object with distance information between units.

pert

an n-vector that indicates which group each unit belongs to. Note that the expected values of pert are numbers greater than or equal to 1 (for instance 1,2,3,4..., k). The default value indicates there is only one group in data.

Value

It is a matrix containing the geometric variability for each group.

Author(s)

Itziar Irigoien itziar.irigoien@ehu.es; Konputazio Zientziak eta Adimen Artifiziala, Euskal Herriko Unibertsitatea (UPV-EHU), Donostia, Spain.

Conchita Arenas carenas@ub.edu; Departament d'Estadistica, Universitat de Barcelona, Barcelona, Spain.

References

Arenas, C. and Cuadras, C.M. (2002). Some recent statistical methods based on distances. Contributions to Science, 2, 183–191.

Cuadras, C.M. (1992). Some examples of distance based discrimination. Biometrical Letters, 29(1), 3–20.

See Also

deltas, proxi

Examples

data(iris)
d <- dist(iris[,1:4])
vgeo(d,iris[,5])


Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(ICGE)
Loading required package: MASS
Loading required package: cluster
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/ICGE/vgeo.Rd_%03d_medium.png", width=480, height=480)
> ### Name: vgeo
> ### Title: Geometric Variability
> ### Aliases: vgeo
> ### Keywords: multivariate
> 
> ### ** Examples
> 
> data(iris)
> d <- dist(iris[,1:4])
> vgeo(d,iris[,5])
     
group geom. variability
    1          0.303020
    2          0.612328
    3          0.870600
> 
> 
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>