Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

makeDistancesAndWeights

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

See Also

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


ExPosition

Exploratory Analysis with the Singular Value Decomposition

v2.8.23
GPL-2
Authors
Derek Beaton, Cherise R. Chin Fatt, Herve Abdi
Initial release
2018-12-27

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.