Learn R Programming

DistatisR (version 1.1.2)

DiSTATIS Three Way Metric Multidimensional Scaling

Description

Implement DiSTATIS and CovSTATIS (three-way multidimensional scaling). DiSTATIS and CovSTATIS are used to analyze multiple distance/covariance matrices collected on the same set of observations. These methods are based on Abdi, H., Williams, L.J., Valentin, D., & Bennani-Dosse, M. (2012) .

Copy Link

Version

Install

install.packages('DistatisR')

Monthly Downloads

932

Version

1.1.2

License

GPL-2

Maintainer

Herve Abdi

Last Published

September 27th, 2025

Functions in DistatisR (1.1.2)

GetRectCmat

GetRectCmat
ComputeSplus

ComputeSplus
DblCenterDist

Double Center a distance matrix
GraphDistatisAll

This function combines the functionality of GraphDistatisCompromise, GraphDistatisPartial, GraphDistatisBoot, and GraphDistatisRv.
DistatisR-package

implements three way metric multidimensional scaling: DISTATIS and COVSTATIS.
GetCmat

GetCmat
SUMPCAnormCP

SUMPCAnormCP
OrangeJuiceSortingRawData

OrangeJuiceSortingRawData: an example of an excel file with Sorting data and vocabulary. This excel file can be read by read.df.excel.
MFAnormCP

MFAnormCP
GraphDistatisPartial

Plot maps of the factor scores and partial factor scores of the observations for a DISTATIS analysis.
DistanceFromRank

DistanceFromRank: Creates a 3-dimensional distance array from the results of a ranking task.
DistanceFromSort

Creates a 3-dimensional distance array from the results of a sorting task.
WinesRankingRawData

WinesRankingRawData: an example of an excel file with (simulated) ranking data. Can be read with the function read.df.excel().
beersBlindSorting

Novices and Experts sorted 3 types of beers from 3 different brewers without and without seeing the beers.
DistAlgo

Four computer algorithms evaluate the similarity of six faces for distatis analysis
Dist2CP

Dist2CP
createCubeOfCovDis

compute a cube of covariance and a cube of distance between the items (rows) of a brick of measurements (when all blocks have the same number of variables).
computePartial4Groups

Computes group alphas and group factor scores for \(K\) groups of observations in distatis.
NuclearNormedCP

NuclearNormedCP
read.df.excel

read.df.excel reads distatis formated ranking or sorting data from an excel file.
distatis

3-Way MDS based on the "STATIS" optimization procedure.
supplementalProjection4distatis

Supplementary element(s) projection in DISTATIS
rv

Function to compute the RV coefficient between to conformable matrices
print.cubeSort

Change the print function for cubeSort
print.cubeOfCovDis

Change the print function for the class cubeOfCovDis
GraphDistatisRv

Plot maps of the factor scores (from the Rv matrix) of the distance matrices for a DISTATIS analysis
print.beersBlind

Change the print function for class 'beersBlind'
print.Splus

Print S+ matrix results
amariSorting

25 assessors twice sort and describe 12 amaris (i.e., bitter)
sortingWines

Novices and wines experts sort red, rosé, and white wines
print.dataSortingWines

Change the print function for the data set: dataSortingWines
rdiag

right (i.e., post) Multiply a matrix by a diagonal matrix
print.distatis.data

Change the print function for objects of class distatis.data output ofread.df.excel
SortingSpice

21 French assessors sorted 16 blends of Spice for distatis analysis
SortingBeer

Ten Assessors sorted eight beers for distatis analysis
print.dataAmari

Change the print function for the data set: dataAmari
GraphDistatisBoot

GraphDistatisBoot Plot maps of the factor scores of the observations and their bootstrapped confidence intervals (as confidence ellipsoids or peeled hulls) for a DISTATIS analysis.
scale1

A variation over the base R scale function that avoids the "divide by 0 = NA" problem.
ldiag

Left (i.e., pre) Multiply a matrix by a diagonal matrix
print.dataSortingSpices

Change the print function for the data set: multiculturalSortingSpices
vocabulary2CT

Transforms a data.frame of products by vocabulary of assessors into a products by words (from vocabulary) contingency table.
projMap2Cube

\ reshape a data matrix from projective mapping into a brick of data for a distatis analysis.
projectVoc

Compute barycentric projections for count-like description of the items of a distatis-type of analysis.
list2CubeOfCovDis

compute a cube of covariance and a cube of distance between the items (rows) of a matrix of measurements comprising \(K\) different blocks of possibly different number of variables.
print.voc4distatis

Change the print function for voc4distatis
print.F4voc

Change the print function for objects of the class 'F4voc' (e.g., output from function projectVoc).
print.DistatisR

Print DistatisR results
GraphDistatisCompromise

Plot maps of the factor scores of the observations for a DISTATIS analysis
print.Cmat

Print C matrix results
mmds

Metric (classical) Multidimensional Scaling (a.k.a Principal Coordinate Analysis) of a (squared Euclidean) Distance Matrix.
print.F_alpha_k

Print F_alpha_k results
multiculturalSortingSpices

62 assessors from 5 countries sort 16 spice samples
print.str_BeersProjectiveMapping

Change the print function for the data set: str_BeersProjectiveMapping
BeersFlashProfile

An example of an excel file storing the Flash Profile of 6 (fictitious) assessors evaluating 7 (imaginary) beers. This excel file can be read by read.df.excel.
CP2NuclearNormedCP

CP2NuclearNormedCP
CP2SUMPCAnormedCP

CP2SUMPCAnormedCP
CP2MFAnormedCP

CP2MFAnormedCP
Chi2Dist

Computes the \(\chi^2\) distance between the rows of a rectangular matrix (with positive elements).
BeersProjectiveMapping_xlsx

An example of an excel file with Projective Mapping data and vocabulary. This excel file can be read by read.df.excel.
BootFactorScores

Computes observation factor scores Bootstrap replicates from partial factor scores.
BootFromCompromise

BootFromCompromise: Computes Bootstrap replicates of the (observation) factor scores by creating bootstrapped compromises.
Chi2DistanceFromSort

Chi2DistanceFromSort: Creates a 3-dimensional \(\chi^2\) distance array from the results of a sorting task.
BeersProjectiveMapping

7 (fictitious) assessors sort and verbally describe 7 Beers using Projective Mapping.