the same objects are represented by two different datasets: this function computes the pairwise distances in both datasets, and the distortions induced by these distance matrices (see Aupetit, 2007)
Usage
distortions(origdata, projdata)
Arguments
origdata
n x d original dataset
projdata
n x q projected/transformed dataset
Value
list object, with components:
- compress : vector of n compressive distortion values
- stretch : vector of n stretching distortion values
References
Aupetit, M. (2007) Visualizing distortions and recovering topology in continuous projection techniques. Neurocomputing. Pages 1304-1330.