Learn R Programming

⚠️There's a newer version (1.12-1) of this package.Take me there.

cops (version 1.3-1)

Cluster Optimized Proximity Scaling

Description

Multidimensional scaling (MDS) methods that aim at pronouncing the clustered appearance of the configuration (Rusch, Mair & Hornik, 2021, ). They achieve this by transforming proximities/distances with power functions and augment the fitting criterion with a clusteredness index, the OPTICS Cordillera (Rusch, Hornik & Mair, 2018, ). There are two variants: One for finding the configuration directly (COPS-C) for ratio, power, interval and non-metric MDS (Borg & Groenen, 2005, ISBN:978-0-387-28981-6), and one for using the augmented fitting criterion to find optimal parameters (P-COPS). The package contains various functions, wrappers, methods and classes for fitting, plotting and displaying different MDS models in a COPS framework like ratio, interval and non-metric MDS for COPS-C and P-COPS with Torgerson scaling (Torgerson, 1958, ISBN:978-0471879459), scaling by majorizing a complex function (SMACOF; de Leeuw, 1977, ), Sammon mapping (Sammon, 1969, ), elastic scaling (McGee, 1966, ), s-stress (Takane, Young & de Leeuw, 1977, ), r-stress (de Leeuw, Groenen & Mair, 2016, ), power stress (Buja & Swayne, 2002 ), restricted power stress, approximate power stress, power elastic scaling, power Sammon mapping (for all Rusch, Mair & Hornik, 2021, ). All of these models can also solely be fit as MDS with power transformations. The package further contains a function for pattern search optimization, the ``Adaptive Luus-Jaakola Algorithm'' (Rusch, Mair & Hornik, 2021,).

Copy Link

Version

Install

install.packages('cops')

Monthly Downloads

487

Version

1.3-1

License

GPL-2 | GPL-3

Maintainer

Thomas Rusch

Last Published

January 19th, 2023

Functions in cops (1.3-1)

cop_powersammon

PCOPS version of sammon with powers
cop_powerstress

COPS version of powerstress
cops

cops: cluster optimized proximity scaling
cop_sstress

PCOPS version of sstress
cop_elastic

PCOPS versions of elastic scaling models (via smacofSym)
cop_cmdscale

PCOPS version of strain
powerStressMin

Power Stress SMACOF
mkBmat

Auxfunction1
ljoptim

(Adaptive) Version of Luus-Jakola Optimization
powerStressFast

Power stress minimization by NEWUOA
conf_adjust

conf_adjust: a function to procrustes adjust two matrices
cop_smacofSphere

PCOPS versions of smacofSphere models
cop_rpowerstress

PCOPS version of restricted powerstress.
cop_apstress

PCOPS version of approximated power stress model.
BankingCrisesDistances

Banking Crises Distances
cmdscale

Wrapper to cmdscale for S3 class
plot.pcops

S3 plot method for p-cops objects
scale_adjust

Adjusts a configuration
secularEq

Secular Equation
cop_sammon

PCOPS version of Sammon mapping
mkPower

Take matrix to a power
sqdist

Squared distances
cop_rstress

PCOPS version of rstress
pcops

Profile COPS Function (aka COPS Variant 2)
cop_sammon2

Another COPS versions of Sammon mapping models (via smacofSym)
plot3dstatic

plot3dstatic: static 3D plots
plot.smacofP

S3 plot method for smacofP objects
plot3dstatic.cmdscaleE

3D plots: plot3dstatic method for class cmdscale
procruster

procruster: a procrustes function
torgerson

Torgerson scaling
plot.cops

S3 plot method for cops objects
pdist

Squared p-distances
copstress

Calculates copstress for given MDS object
cop_smacofSym

PCOPS versions of smacofSym models
copstressMin

Fitting a COPS-C Model (COPS Variant 1).
cop_powerelastic

PCOPS version of elastic scaling with powers
cop_powermds

PCOPS version of powermds
sammon

Wrapper to sammon for S3 class
doubleCenter

Double centering of a matrix
enorm

Explicit Normalization Normalizes distances