transformations function

Calculate similarity transformations

Calculate similarity transformations

Calculate similarity transformations between configurations in two arrays.

transformations(Xrotated,Xoriginal)

Arguments

  • 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.

Returns

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.

References

Dryden, I.L. and Mardia, K.V. (2016). Statistical Shape Analysis, with Applications in R (Second Edition). Wiley, Chichester.

Author(s)

Ian Dryden

See Also

procGPA

Examples

#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)