Simple Procruste Rotation between two sets of points
Simple Procruste Rotation between two sets of points
performs a simple procruste rotation between two sets of points.
procuste(dfX, dfY, scale =TRUE, nf =4, tol =1e-07)## S3 method for class 'procuste'plot(x, xax =1, yax =2,...)## S3 method for class 'procuste'print(x,...)## S3 method for class 'procuste'randtest(xtest, nrepet =999,...)
Arguments
dfX, dfY: two data frames with the same rows
scale: a logical value indicating whether a transformation by the Gower's scaling (1971) should be applied
nf: an integer indicating the number of kept axes
tol: a tolerance threshold to test whether the distance matrix is Euclidean : an eigenvalue is considered positive if it is larger than -tol*lambda1 where lambda1 is the largest eigenvalue.
x, xtest: an objet of class procuste
xax: the column number for the x-axis
yax: the column number for the y-axis
nrepet: the number of repetitions to perform the randomization test
...: further arguments passed to or from other methods
Returns
returns a list of the class procuste with 9 components - d: a numeric vector of the singular values
rank: an integer indicating the rank of the crossed matrix
nf: an integer indicating the number of kept axes
tabX: a data frame with the array X, possibly scaled
tabY: a data frame with the array Y, possibly scaled
rotX: a data frame with the result of the rotation from array X to array Y
rotY: a data frame with the result of the rotation from array Y to array X
Digby, P. G. N. and Kempton, R. A. (1987) Multivariate Analysis of Ecological Communities. Population and Community Biology Series, Chapman and Hall, London.
Gower, J.C. (1971) Statistical methods of comparing different multivariate analyses of the same data. In Mathematics in the archaeological and historical sciences, Hodson, F.R, Kendall, D.G. & Tautu, P. (Eds.) University Press, Edinburgh, 138--149.