Learn R Programming

smacofx (version 1.22-0)

Flexible Multidimensional Scaling and 'smacof' Extensions

Description

Flexible multidimensional scaling (MDS) methods and extensions to the package 'smacof'. This package contains various functions, wrappers, methods and classes for fitting, plotting and displaying a large number of different flexible MDS models. These are: Torgerson scaling (Torgerson, 1958, ISBN:978-0471879459) with powers, Sammon mapping (Sammon, 1969, ) with ratio and interval optimal scaling, Multiscale MDS (Ramsay, 1977, ) with ratio and interval optimal scaling, s-stress MDS (ALSCAL; Takane, Young & De Leeuw, 1977, ) with ratio and interval optimal scaling, elastic scaling (McGee, 1966, ) with ratio and interval optimal scaling, r-stress MDS (De Leeuw, Groenen & Mair, 2016, ) with ratio, interval, splines and nonmetric optimal scaling, power-stress MDS (POST-MDS; Buja & Swayne, 2002 ) with ratio and interval optimal scaling, restricted power-stress (Rusch, Mair & Hornik, 2021, ) with ratio and interval optimal scaling, approximate power-stress with ratio optimal scaling (Rusch, Mair & Hornik, 2021, ), Box-Cox MDS (Chen & Buja, 2013, ), local MDS (Chen & Buja, 2009, ), curvilinear component analysis (Demartines & Herault, 1997, ), curvilinear distance analysis (Lee, Lendasse & Verleysen, 2004, ), nonlinear MDS with optimal dissimilarity powers functions (De Leeuw, 2024, ), sparsified (power) MDS and sparsified multidimensional (power) distance analysis aka extended curvilinear (power) component analysis and extended curvilinear (power) distance analysis (Rusch, 2024, ). Some functions are suitably flexible to allow any other sensible combination of explicit power transformations for weights, distances and input proximities with implicit ratio, interval, splines or nonmetric optimal scaling of the input proximities. Most functions use a Majorization-Minimization algorithm. Currently the methods are only available for one-mode two-way data (symmetric dissimilarity matrices).

Copy Link

Version

Install

install.packages('smacofx')

Monthly Downloads

210

Version

1.22-0

License

GPL-2 | GPL-3

Maintainer

Thomas Rusch

Last Published

September 18th, 2025

Functions in smacofx (1.22-0)

clca

Curvilinear Component Analysis (CLCA)
cmdscale

Wrapper to cmdscale for S3 class
mkPower

Take matrix to a power
multiscale

Multiscale SMACOF
scale_adjust

Adjusts a configuration
sammonmap

Sammon Mapping SMACOF
powerStressFast

Power stress minimization by NEWUOA (nloptr)
permtest.smacofP

Permutation test for smacofP objects
pdist

Squared p-distances
plot.smacofP

S3 plot method for smacofP objects
ringdat

Two interlocking rings
udat

Noisy Data on a U Fold
lmds

Local MDS
jackmds.smacofP

MDS Jackknife for smacofP objects
procruster

procruster: a procrustes function
rStressMin

R stress SMACOF
smacofxDeleteOne

Helper function to conduct jackknife MDS
mkBmat

Auxfunction1
sqdist

Squared distances
powerStressMin

Power Stress SMACOF
koller

Responses to the SCC scale and CSII scale (n=1013).
spheredat

Clelia curve on a sphere
spp

Calculating stress per point
opmds

Nonlinear ratio MDS with optimal power of dissimilarities
sammon

Wrapper to sammon for S3 class
multistart

Multistart MDS function
rpowerStressMin

Restricted Power Stress SMACOF
spmds

Extended Curvilinear (Power) Component Analysis aka Sparsified (POST-) Multidimensional Scaling (SPMDS or SMDS) either as self-organizing or not
spmdda

Extended Curvilinear (Power) Distance Analysis (eCLPDA or eCLDA) aka Sparse (POST-)Multidimensional Distance Analysis (SPMDDA or SMDDA) either as self-organizing or not
smacofx-package

smacofx: Flexible multidimensional scaling methods and SMACOF extensions
secularEq

Secular Equation
bcsdistance

Calculates the blended Chi-square distance matrix between n vectors
bcmds

Box-Cox MDS
bootmds.smacofP

MDS Bootstrap for smacofP objects
apStressMin

Approximate Power Stress MDS
biplotmds.bcmds

S3 method for bcmds objects
alscal

ALSCAL - MDS via S-Stress Minimization
BankingCrisesDistances

Banking Crises Distances
biplotmds.lmds

S3 method for lmds objects
alignplot

Function to plot Procrustes aligned MDS configurations
biplotmds.smacofP

S3 method for smacofP objects
elscal

Elastic Scaling SMACOF
enorm

Explicit Normalization Normalizes distances
corpsepaint

Corpse Paint
icExploreGen

Exploring initial configurations in an agnostic way
cmds

Classical Scaling
conf_adjust

conf_adjust: a function to procrustes adjust two matrices
clda

Curvilinear Distance Analysis (CLDA)
doubleCenter

Double centering of a matrix