I have done all my principal component analysis and have my principal components (PC1 & PC2) and I know I have to multiply that by my original data set to get my new reduced data set, but I keep getting an error 'Error in Fish %*% FishPC : requires numeric/complex matrix/vector arguments'
My data set is called Fish and my Principal component matrix is FishPC
My code is
Fish %*% FishPC.
I can provide more if needed.
I have tried removing the species and that also did not work.