【R/Matlab】PCA(主成分分析) - 香格裡拉\(^o^)/ - 博客園
data = read.table("file", header=TRUE) R commands for PCA Here are some R commands for PCA pcdat = princomp(data) - It does actual job and put the results to pcdat. It will use covariance matrix pcdat = princomp(data,cor=TRUE) - It will use correlation ma...