Displaying 1 result from an estimated 1 matches for "ogsscaled".
Did you mean:
glscaled
2007 Nov 29
0
Doing PCA
...ave managed to reshape my data using a much shorter script than before. Woohoo
However now I have new problems. The code is below. There are no problems with the create matrix section.
The problem code is highlighted in bold. I am trying to do PCA on the data. Here are the errors.
Error1
code : OGSscaled = rangescale(OGS)
error message : Error in dim(newX) <- c(prod(d.call), d2) :
dims [product 47960] do not match the length of object [43600]
Error2
I tried to do PCA without rangescaling
code :OGSpca <- prcomp(OGS, center=FALSE)
error message : Error in svd(x, nu = 0) : infinite or missin...