smacofSym {smacof} | R Documentation |
Basic smacof on symmetric dissimilarity matrix
smacofSym(delta, ndim = 2, weightmat = NULL, init = NULL, metric = TRUE, ties = "primary", verbose = FALSE, relax = 1, modulus = 1, itmax = 1000, eps = 1e-06)
delta |
Either a symmetric dissimilarity matrix or an object of class "dist" |
ndim |
Number of dimensions |
weightmat |
Optional matrix with dissimilarity weights |
init |
Matrix with starting values for configurations (optional) |
metric |
If FALSE non-metric MDS is performed |
ties |
Tie specification for non-metric MDS only: "primary" , "secondary" , or "tertiary" |
verbose |
If TRUE , intermediate stress is printed out |
relax |
Relaxed smacof update |
modulus |
Number of smacof iterations per monotone regression call |
itmax |
Maximum number of iterations |
eps |
Convergence criterion |
obsdiss |
Observed dissimilarities, normalized |
confdiss |
Configuration dissimilarities |
conf |
Matrix of final configurations |
stress.m |
stress value for metric MDS |
stress.nm |
stress value for non-metric MDS (if computed) |
ndim |
Number of dimensions |
model |
Type of smacof model |
niter |
Number of iterations |
nobj |
Number of objects |
Jan de Leeuw and Patrick Mair
de Leeuw, J. & Mair, P. (2008). Multidimensional scaling using majorization: The R package smacof.
smacofConstraint
, smacofRect
, smacofIndDiff
, smacofSphere.primal
, smacofSphere.dual
## simple SMACOF solution for kinship data data(kinshipdelta) res <- smacofSym(kinshipdelta) res summary(res) ## 3D nonmetric SMACOF solution for trading data data(trading) res <- smacofSym(trading, ndim = 3, metric = FALSE, ties = "secondary") res