Learn R Programming

Momocs (version 1.4.1)

MDS: (Metric) multidimensional scaling

Description

A wrapper around stats::cmdscale.

Usage

MDS(x, method = "euclidean", k = 2, ...)

Value

what is returned by stats::dist plus $fac. And prepend MDS class to it.

Arguments

x

any Coe object

method

a dissiminarity index to feed method in stats::dist (default: euclidean)

k

numeric number of dimensions to feed stats::cmdscale (default: 2)

...

additional parameters to feed stats::cmdscale

Details

For Details, see vegan::metaMDS

See Also

Other multivariate: CLUST(), KMEANS(), KMEDOIDS(), LDA(), MANOVA_PW(), MANOVA(), MSHAPES(), NMDS(), PCA(), classification_metrics()

Examples

Run this code
x <- bot %>% efourier %>% MDS
x


Run the code above in your browser using DataLab