powered by
Calculates the correlation between distances in a reduced space and the original space
PCdist(PCs, PCscores, x = 5, plot.type = "b")
a vector of R-squared values between subspace and fullspace distances and a barplot depicting the correlations belonging to the subspace.
m x k matrix of Principal Components where m is the k is the number of PCs.
n x m matrix of Principal Component scores where n is the number of observations.
integer: increment for every x-th PC the subspace to fullspace correlation will be calculated.
"b"=barplot of correlation values, "s"=line between correlation values.
Stefan Schlager
if (require(shapes)) { a <- procSym(gorf.dat) PCdist(a$PCs, a$PCscores, x = 2) }
Run the code above in your browser using DataLab