dist {compositions} | R Documentation |
Calculates a distance matrix from a dataset.
dist(x,...) ## Default S3 method: dist(x,...)
x |
a dataset |
... |
further arguments to dist |
The distance is computed based on cdt
a distance matrix
K.Gerald v.d. Boogaart http://www.stat.boogaart.de
data(iris) dist(iris[,1:4]) data(SimulatedAmounts) dist(acomp(sa.lognormals),method="manhattan") dist(rcomp(sa.lognormals)) dist(aplus(sa.lognormals)) dist(rplus(sa.lognormals))