proc_align {fase} | R Documentation |
Procrustes alignment
Description
proc_align
orthogonally transforms the columns of a matrix A
to
find the best approximation (in terms of Frobenius norm) to a
second matrix B
. Optionally, it may also return the optimal transformation
matrix.
Usage
proc_align(A,B,return_orth=FALSE)
Arguments
A |
An |
B |
An |
return_orth |
A Boolean which specifies whether to return the
orthogonal transformation.
Defaults to |
Value
If return_orth
is FALSE
, returns the n \times d
matrix resulting from applying the optimal aligning transformation to
the columns of A
.
Otherwise, returns a list with two entries:
Ao |
The |
orth |
The |
[Package fase version 1.0.1 Index]