Learn R Programming

smacofx (version 1.21-1)

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

522

Version

1.21-1

License

GPL-2 | GPL-3

Maintainer

Thomas Rusch

Last Published

July 7th, 2025

Functions in smacofx (1.21-1)

clca

Curvilinear Component Analysis (CLCA)
alscal

ALSCAL - MDS via S-Stress Minimization
bcmds

Box-Cox MDS
biplotmds.smacofP

S3 method for smacofP objects
biplotmds.lmds

S3 method for lmds objects
biplotmds.bcmds

S3 method for bcmds objects
apStressMin

Approximate Power Stress MDS
bcsdistance

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

Banking Crises Distances
bootmds.smacofP

MDS Bootstrap for smacofP objects
conf_adjust

conf_adjust: a function to procrustes adjust two matrices
doubleCenter

Double centering of a matrix
icExploreGen

Exploring initial configurations in an agnostic way
elscal

Elastic Scaling SMACOF
jackmds.smacofP

MDS Jackknife for smacofP objects
corpsepaint

Corpse Paint
clda

Curvilinear Distance Analysis (CLDA)
cmds

Classical Scaling
cmdscale

Wrapper to cmdscale for S3 class
enorm

Explicit Normalization Normalizes distances
koller

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

Nonlinear ratio MDS with optimal power of dissimilarities
permtest.smacofP

Permutation test for smacofP objects
plot.smacofP

S3 plot method for smacofP objects
pdist

Squared p-distances
lmds

Local MDS
multistart

Multistart MDS function
multiscale

Multiscale SMACOF
rStressMin

R stress SMACOF
ringdat

Two interlocking rings
rpowerStressMin

Restricted Power Stress SMACOF
powerStressMin

Power Stress SMACOF
procruster

procruster: a procrustes function
scale_adjust

Adjusts a configuration
secularEq

Secular Equation
powerStressFast

Power stress minimization by NEWUOA (nloptr)
mkPower

Take matrix to a power
mkBmat

Auxfunction1
sammon

Wrapper to sammon for S3 class
sammonmap

Sammon Mapping SMACOF
smacofx-package

smacofx: Flexible multidimensional scaling methods and SMACOF extensions
spmds

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

Clelia curve on a sphere
sqdist

Squared distances
smacofxDeleteOne

Helper function to conduct jackknife MDS
spp

Calculating stress per point
spmdda

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

Noisy Data on a U Fold