ca.procrustes.poly: Projection onto Reference Curve

View source: R/procrustes.R

ca.procrustes.polyR Documentation

Projection onto Reference Curve

Description

Performs a polynomial regression on the row reference scores and orthogonally projects data points on to the reference curve. Sampling can be increased to refine ranking and avoid ties, but default is largely sufficient. Correspondence analysis is performed using the ca package \insertCitenenadic_correspondence_2007lakhesis.

Usage

ca.procrustes.poly(obj, resolution = 10000)

Arguments

obj

An incidence matrix of size n x k.

resolution

Number of samples to use for plotting points along polynomial curve (default is 10000).

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.poly(quattrofontanili)


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