smacofSphere.dual {smacof}R Documentation

Spherical SMACOF

Description

Dual and primal approach for spherical SMACOF.

Usage

smacofSphere.dual <- function(delta, penalty = 100, ndim = 2, weightmat = NULL, init = NULL, 
metric = TRUE, ties = "primary", verbose = FALSE, relax = 1, modulus = 1, itmax = 100, eps = 1e-6)

smacofSphere.primal (delta, ndim = 2, weightmat = NULL, init = NULL,
metric = TRUE, ties = "primary", verbose = FALSE, modulus = 1, itmax = 100, eps = 1e-6)

Arguments

delta Either a symmetric dissimilarity matrix or an object of class dist
penalty Penalty parameter for dual algorithm (larger 0)
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
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
obsdiss1 Dual SMACOF: Observed dissimilarities
obsdiss2 Dual SMACOF: Restriction matrix
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
dummyvec Dummy vector of restriction matrix
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

smacofRect, smacofIndDiff, smacofSym,smacofConstraint

Examples


## spherical SMACOF solution for trading data
data(trading)
res <- smacofSphere.dual(trading)
res
summary(res)


[Package smacof version 0.9-5 Index]