| procrustes | R Documentation |
This function performs a Procrustes transformation on a matrix X to
minimize the squared distance between X and another matrix
Xstar.
procrustes(X, Xstar, translation = FALSE, dilation = FALSE)
X |
The matrix to be transformed. |
Xstar |
The target matrix. |
translation |
logical value indicating whether |
dilation |
logical value indicating whether |
R, tt, and s are chosen so that:
s X R + 1 tt' \approx X^*
X.new is given by:
X_{new} = s X R + 1 tt'
A list containing: X.new the matrix that is the Procrustes
transformed version of X, R the rotation matrix, tt the
translation vector, and s the scale factor.
Borg and Groenen. 1997. Modern Multidimensional Scaling. New York: Springer. pp. 340-342.
MCMCirtKd
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.