Description Usage Arguments Value
Procrustes Transform of Rectangular matrix
1 | .transform_procrustes(X, target, translation = TRUE, scale = TRUE)
|
X |
dense matrix to transform |
target |
dense matrix that is the target of the transform |
translation |
boolean; whether positions should be translated |
scale |
boolean; whether positions should be scaled |
returns a list of four elements:
the transformed matrix Xstar
the rotation matrix R
the translation vector t_vec
the scaling factor sigma
The transformed matrix Xstar
can be recreated by the equation sigma * X * R
if translation
is FALSE
. If translation
is TRUE
, adding t_vec
to each row of the matrix sigma * X * R
completes the transformation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.