Description Usage Arguments Value Examples
Procrustes transform Y = pXR (after centering), where p is a scaling coefficient and R is a rotation matrix that minimize ||Y - pXR||_F.
1 | procrustes(Y, X, n_iter_max = 1000, epsilon_min = 1e-07)
|
Y |
Reference matrix. |
X |
Matrix to transform ( |
n_iter_max |
Maximum number of iterations. Default is |
epsilon_min |
Convergence criterion. Default is |
Object of class "procrustes", a list with the following elements:
$R
: the rotation matrix to apply to X
,
$rho
: the scaling coefficient to apply to X
,
$c
: the column centering to apply to the resulting matrix,
$diff
: the average difference between Y
and X
transformed.
You can use method predict()
to apply this transformation to other data.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.