ca.procrustes: Correspondence Analysis with Procrustes Fitting

View source: R/procrustes.R

ca.procrustesR 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 \insertCitenenadic_correspondence_2007lakhesis.

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, and dist, 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 as x.dat, but with respect to the column scores.

References

\insertAllCited

Examples

data("quattrofontanili")
ca.procrustes(quattrofontanili)


lakhesis documentation built on June 22, 2024, 10:27 a.m.