transformations {shapes}R Documentation

Calculate similarity transformations

Description

Calculate similarity transformations between configurations in two arrays.

Usage

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.

Value

A list with components

translation

The translation parameters

scale

The scale parameters

rotation

The rotation parameters

Author(s)

Ian Dryden

References

Dryden, I.L. and Mardia, K.V. (1998). Statistical Shape Analysis, Wiley, Chichester.

See Also

procGPA

Examples


#2D example : female and male Gorillas (cf. Dryden and Mardia, 1998)

data(gorf.dat)

Xorig <- gorf.dat
Xrotated <- procGPA(gorf.dat)$rotated

transformations(Xrotated,Xorig)


[Package shapes version 1.1-5 Index]