I want to project a vector onto space transformed by PCA.
I've calculated PCA in R language using
Now I should be able to multiply my vector by matrix of rotation.
Should principal components in this matrix be arranged in rows or columns?
Vector that I want to project:
attr1 attr2 ...
PC1 PC2 PC3 ... ... ... ...