Description Usage Arguments Value Author(s) Examples
The optimal rotation is computed according to the procruste methode. Rotation is based on singular value decomposition (SVD). No scaling and no centrering are done, before computing the SVD.
1 | protate(src, dest)
|
src |
a numeric matrix to be rotated |
dest |
a numeric matrix used as reference space |
a numeric matrix
Christelle Gonindard-Melodelima
Eric Coissac
1 2 3 4 5 6 | # Generates two random matrices of size 10 x 15
m1 <- simulate_matrix(10, 15)
m2 <- simulate_matrix(10, 20)
# Rotates matrix m1 on m2
mr <- protate(m1, m2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.