dist {compositions} | R 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(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))

[Package compositions version 0.91-6 Index]