r - Different Valuse Returned from Using PCA Function -


can explain me how these different?

#first type of pca.  scales , transposes manually pr.data <- prcomp(scale(t(data)))  #second type of pca pr.data <- prcomp(data, retx=true, scale=true) 

is 1 transposed (the first one) , second 1 not transposed?

i think t(data) affect data because switch positions of "samples vs. features" "features vs. samples." transposing matrix "flip" analysis.


Comments

Popular posts from this blog

amazon web services - S3 and apache mod_proxy with basic authentication -

How to install ruby on rails -

powershell - This solution contains one or more assemblies targeted for the global assembly cache -