ca.procrustes.curve | R Documentation |
Obtain a ranking of row and column scores projected onto a reference curve of an ideal seriation (row and column scores are ranked separately). Scores of correspondence analysis have been fit to those produced by reference matrix contain an ideal seriation using a Procrustes method, projecting them. 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.
ca.procrustes.curve(obj, resolution = 10000)
obj |
An incidence matrix of size n x k. |
resolution |
Number of samples to use for plotting points along polynomial curve (default is 10000). |
A data frame of the following:.
Procrustes1,Procrustes2
The location of the point on the biplot after fitting.
CurveIndex
The orthogonal projection of the point onto the reference curve, given as the index of the point sampled along y = \beta_2 x^2 + \beta_0
.
Distance
The squared Euclidean distance of the point to the nearest point on the reference curve.
Rank
The ranking of the row or column, a range of 1:nrow`` and
1:ncol“.
Type
Either row
or col
.
sel
Data frame column used in shiny
app to indicate whether point is selected in biplot/curve projection.
data("quattrofontanili")
ca.procrustes.curve(quattrofontanili)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.