transformations | R Documentation |
Calculate similarity transformations between configurations in two arrays.
transformations(Xrotated,Xoriginal)
Xrotated |
Input k x m x n real array of the Procrustes transformed configurations, where k is the number of points, m is the number of dimensions, and n is the sample size. |
Xoriginal |
Input k x m x n real array of the Procrustes original configurations, where k is the number of points, m is the number of dimensions, and n is the sample size. |
A list with components
translation |
The translation parameters. These are the relative translations of the centroids of the individuals. |
scale |
The scale parameters |
rotation |
The rotation parameters. These are the rotations between the individuals after they have both been centred. |
Ian Dryden
Dryden, I.L. and Mardia, K.V. (2016). Statistical Shape Analysis, with Applications in R (Second Edition). Wiley, Chichester.
procGPA
#2D example : female and male Gorillas (cf. Dryden and Mardia, 2016) data(gorf.dat) Xorig <- gorf.dat Xrotated <- procGPA(gorf.dat)$rotated transformations(Xrotated,Xorig)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.