MdsDimChoice {FreeSortR} | R Documentation |
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)
Part |
Part is an object of class |
dimen |
Vector of (minimum and maximum of) dimensions for Mds (default is |
metric |
Metric or non metric Mds (default is |
ties |
Treatment of ties in case of non metric Mds |
itmax |
Maximum number of iterations |
eps |
Epsilon for Mds computation |
Table of Kruskal stress for the chosen dimensions
data(AromaSort)
Aroma<-SortingPartition(AromaSort)
tabres<-MdsDimChoice(Aroma)