Function PrinCoor
implements Principal Coordinate Analysis, also known as classical metric multidimensional scaling or
classical scaling. In comparison with other software, it offers refined statistics for goodness-of-fit at the level of individual observations and pairs of observartions.
PrinCoor(Dis, eps = 1e-10)
A distance matrix or dissimilarity matrix
A tolerance criterion for deciding if eigenvalues are zero or not
The coordinates of the the solution
The eigenvalues of the solution
The scalar product matrix
Standard overall goodness-of-fit table using all eigenvalues
Overall goodness-of-fit table using only positive eigenvalues
Overall goodness-of-fit table using absolute values of eigenvalues
Overall goodness-of-fit table using squared eigenvalues
Detailed goodness-of-fit statistics for each row
Detailed goodness-of-fit statistics for each pair
Calculations are based on the spectral decomposition of the scalar product matrix B, derived from the distance matrix.
Graffelman, J. (2019) Goodness-of-fit filtering in classical metric multidimensional scaling with large datasets. <doi: 10.1101/708339>
Graffelman, J. and van Eeuwijk, F.A. (2005) Calibration of multivariate scatter plots for exploratory analysis of relations within and between sets of variables in genomic research Biometrical Journal, 47(6) pp. 863-879.
# NOT RUN {
data(spaindist)
results <- PrinCoor(as.matrix(spaindist))
# }
Run the code above in your browser using DataLab