smacofSym {smacof}R Documentation

Symmetric smacof

Description

Basic smacof on symmetric dissimilarity matrix

Usage

smacofSym(delta, ndim = 2, weightmat = NULL, init = NULL, metric = TRUE, ties = "primary", verbose = FALSE, relax = 1, modulus = 1, itmax = 1000, eps = 1e-06)

Arguments

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

Value

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

Author(s)

Jan de Leeuw and Patrick Mair

References

de Leeuw, J. & Mair, P. (2008). Multidimensional scaling using majorization: The R package smacof.

See Also

smacofConstraint, smacofRect, smacofIndDiff, smacofSphere.primal, smacofSphere.dual

Examples


## 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

[Package smacof version 0.9-5 Index]