MdsDimChoice function

Computation of the stress of Mds solution

Computation of the stress of Mds solution

MdsDimChoice() returns a table of stress values of Multidimensionnal scaling for different dimensions. The different dimensions to test are given as an argument of the function.

The Mds is based on smacof algorithm and may be metric or not metric.

MdsDimChoice(Part, dimen = c(2, 4), metric = FALSE, ties = "primary", itmax = 5000, eps = 1e-06)

Arguments

  • Part: Part is an object of class SortingPartition
  • dimen: Vector of (minimum and maximum of) dimensions for Mds (default is dimen=c(2,4))
  • metric: Metric or non metric Mds (default is metric=FALSE for non metric Mds)
  • ties: Treatment of ties in case of non metric Mds
  • itmax: Maximum number of iterations
  • eps: Epsilon for Mds computation

Returns

Table of Kruskal stress for the chosen dimensions

Examples

data(AromaSort) Aroma<-SortingPartition(AromaSort) tabres<-MdsDimChoice(Aroma)
  • Maintainer: Philippe Courcoux
  • License: GPL-2
  • Last published: 2017-12-17

Useful links