powered by
Compare matrices using PCA similarity factor
pcasf(x, y, dim = NULL)
Ratio of projected variance to total variance
Matrix with sample in column and features in row
Matrix is compared to x.
number of retained dimensions in the comparison. Defaults to all.
Edgar Zanella Alvarenga
Singhal, A. and Seborg, D. E. (2005), Clustering multivariate time-series data. J. Chemometrics, 19: 427-438. doi: 10.1002/cem.945
c1 <- matrix(rnorm(16),nrow=4) c2 <- matrix(rnorm(16),nrow=4) pcasf(c1, c2)
Run the code above in your browser using DataLab