makeDistancesAndWeights {ExPosition} R Documentation

## Makes distances and weights for MDS analyses (see epMDS).

### Description

Makes distances and weights for MDS analyses (see epMDS).

### Usage

makeDistancesAndWeights(DATA, method = "euclidean", masses = NULL)


### Arguments

 DATA A data matrix to compute distances between row items. method which distance metric should be used. method matches dist; Two additional distances are avaialble: "correlation" and "chi2". For "chi2" see chi2Dist. Default is "euclidean". masses a diagonal matrix (or vector) that contains the masses (for the row items).

### Value

 D Distance matrix for analysis MW a list item with masses and weights. Weights are not used in epMDS.

### Author(s)

Derek Beaton

link{computeMW}, link{epMDS}, link{coreMDS}