MdsDimChoice: Computation of the stress of Mds solution
Description
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.
Usage
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
Value
Table of Kruskal stress for the chosen dimensions
Examples
Run this code# NOT RUN {
data(AromaSort)
Aroma<-SortingPartition(AromaSort)
tabres<-MdsDimChoice(Aroma)
# }
Run the code above in your browser using DataLab