MDS | R Documentation |
Performs classical or nonmetric Multidimensional Scaling analysis of provenance data
MDS(x, ...)
## Default S3 method:
MDS(x, classical = FALSE, k = 2, ...)
## S3 method for class 'compositional'
MDS(x, classical = FALSE, k = 2, ...)
## S3 method for class 'counts'
MDS(x, classical = FALSE, k = 2, ...)
## S3 method for class 'distributional'
MDS(x, classical = FALSE, k = 2, nb = 0, ...)
## S3 method for class 'varietal'
MDS(x, classical = FALSE, k = 2, nb = 0, ...)
x |
an object of class |
... |
optional arguments If If If If Otherwise, |
classical |
boolean flag indicating whether classical
( |
k |
the desired dimensionality of the solution |
nb |
number of bootstrap resamples. If |
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)
Nordsvan, A.R., Kirscher, U., Kirkland, C.L., Barham, M. and Brennan, D.T., 2020. Resampling (detrital) zircon age distributions for accurate multidimensional scaling solutions. Earth-Science Reviews, p.103149.
Vermeesch, P., 2013, Multi-sample comparison of detrital age distributions. Chemical Geology v.341, 140-146, doi:10.1016/j.chemgeo.2013.01.010
data(Namib)
plot(MDS(Namib$Major,classical=TRUE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.