[R] Addition to: PCAgrid scores cannot be predicted correctly

2015-07-07 Thread Manuel Weinkauf
is seems to point into the direction that the scaling factors returned by PCAgrid might be wrong!? Thanks a lot for your help. On 07.07.2015 12:00, r-help-requ...@r-project.org wrote: Message: 25 Date: Mon, 06 Jul 2015 17:52:38 +0200 From: Manuel Weinkauf To: R-help@r-project.org Subject: [R

[R] PCAgrid scores cannot be predicted correctly

2015-07-06 Thread Manuel Weinkauf
le[i,2]*Load[2,1]+Dat.Scale[i,3]*Load[3,1]+Dat.Scale[i,4]*Load[4,1] rPCA.man[i,2]<-Dat.Scale[i,1]*Load[1,2]+Dat.Scale[i,2]*Load[2,2]+Dat.Scale[i,3]*Load[3,2]+Dat.Scale[i,4]*Load[4,2] } plot(rPCA$scores[,1:2], pch=1, cex=2, main="Robust PCA") points(rPCA.pred, pch=16) points(rPCA.man, pch=0