MDS: Multidimensional Scaling

Description Usage Arguments Value Examples

View source: R/toolbox.R

Description

Performs classical or nonmetric Multidimensional Scaling analysis of provenance data

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
MDS(x, ...)

## S3 method for class 'compositional'
MDS(x, classical = FALSE, k = 2, ...)

## S3 method for class 'distributional'
MDS(x, classical = FALSE, k = 2, ...)

## S3 method for class 'diss'
MDS(x, classical = FALSE, k = 2, ...)

Arguments

x

an object of class distributional, compositional or diss

...

optional arguments to be passed onto diss (if x is of class compositional or distributional) or onto cmdscale or isoMDS (if x is of class dist).

classical

boolean flag indicating whether classical (TRUE) or nonmetric (FALSE) MDS should be used

k

the desired dimensionality of the solution

Value

an object of class MDS, i.e. a list containing the following items:

points: a two column vector of the fitted configuration

classical: a boolean flag indicating whether the MDS configuration was obtained by classical (TRUE) or nonmetric (FALSE) MDS.

diss: the dissimilarity matrix used for the MDS analysis

stress: (only if classical=TRUE) the final stress achieved (in percent)

Examples

1
2
data(Namib)
plot(MDS(Namib$Major,classical=TRUE))

provenance documentation built on May 29, 2017, 7:46 p.m.

Related to MDS in provenance...