| tucker_congruence | R Documentation |
Linear-algebra utilities shared by MatchAlign and the recovery
assessments. tucker_congruence(x, y) computes sum(x*y) / sqrt(sum(x^2) * sum(y^2)). procrustes_rotation(X, Target) finds
the orthogonal R minimising ||X R - Target||_F and returns
X %*% R with R attached as attribute "rotation".
tucker_congruence(x, y)
procrustes_rotation(X, Target)
x, y |
Numeric vectors (for Tucker). |
X, Target |
Matrices (for Procrustes). |
Tucker returns a scalar; Procrustes returns the rotated
matrix with a "rotation" attribute.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.