ca.procrustes {lakhesis} | R Documentation |
Correspondence Analysis with Procrustes Fitting
Description
Fit scores of correspondence analysis on an incidence matrix to those produced by reference matrix which contain an ideal seriation using a Procrustes method (on the reference matrix, see im.ref
). Rotation is determined by minimizing Euclidean distance from each row score to the nearest reference row score. Correspondence analysis is performed using the ca
package (Nenadic and Greenacre 2007).
Usage
ca.procrustes(obj)
Arguments
obj |
An incidence matrix of size n x k. |
Value
A list of the following:.
-
ref
The Procrustes-fit coordinates of the scores of the reference seriation. -
x
The Procrustes-fit coordinates of the row scores of the data. -
x.dat
A data frame containing the following information related to the fit of the row score after Procrustes fitting:index
, the row name,match
, the reference point nearest to the row score, anddist
, the Euclidean distance between the row score and reference score point. -
y
The Procrustes-fit coordinates of the column scores of the data. -
y.dat
A data frame containing the same information asx.dat
, but with respect to the column scores.
References
Nenadic O, Greenacre MJ (2007). “Correspondence Analysis in R, with Two- and Three-dimensional Graphics: The ca Package.” Journal of Statistical Software, 20, 1–13. doi:10.18637/jss.v020.i03.
Examples
data("quattrofontanili")
ca.procrustes(quattrofontanili)