dist: Distances in variouse approaches

View source: R/compositions.R

distR Documentation

Distances in variouse approaches

Description

Calculates a distance matrix from a data set.

Usage

dist(x,...)
## Default S3 method:
dist(x,...)
          

Arguments

x

a dataset

...

further arguments to dist

Details

The distance is computed based on cdt

Value

a distance matrix

Author(s)

K.Gerald v.d. Boogaart http://www.stat.boogaart.de

See Also

aplus

Examples

data(SimulatedAmounts)
phc <- function(d) { plot(hclust(d))}
phc(dist(iris[,1:4]))
phc(dist(acomp(sa.lognormals),method="manhattan"))
phc(dist(rcomp(sa.lognormals)))
phc(dist(aplus(sa.lognormals)))
phc(dist(rplus(sa.lognormals)))


compositions documentation built on June 22, 2024, 12:15 p.m.