dist: Distances in variouse approaches

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Calculates a distance matrix from a data set.

Usage

1
2
3
4
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

1
2
3
4
5
6
7
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)))


Search within the compositions package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.