deltas | R Documentation |
Assume that n units are divided into k groups C1,...,Ck . Function deltas
computes and returns the distance between each pair of groups. It uses the distances between pairs of units.
deltas(d, pert = "onegroup")
d |
a distance matrix or a |
pert |
an n-vector that indicates which group each unit belongs to. Note that the expected values of |
A matrix containing the distances between each pair of groups.
Itziar Irigoien itziar.irigoien@ehu.eus; 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.
Arenas, C. and Cuadras, C.M. (2002). Some recent statistical methods based on distances. Contributions to Science, 2, 183–191.
Cuadras, C.M., Fortiana, J. and Oliva, F. (1997). The proximity of an individual to a population with applications in discriminant analysis. Journal of Classification, 14, 117–136.
vgeo
, proxi
data(iris) d <- dist(iris[,1:4]) deltas(d,iris[,5])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.