Actually, the loadings are quite different from the coefficients. The
loadings are simply correlations of the original values to the scores for a
PCA factor. The coefficients, on the other hand, allow one to compute the
scores. There is a coefficient for each variable. The coefficient is
Dear All,
It might be a simple question. But I could not find the answer from function
âprcompâ or âprincompâ. Does anyone know what are the codes to get
coefficient and scores of Principal component analysis in R?
Your reply will be appreciated!
Best
Zunqiu
[[alternative
By coefficients do you mean loadings?
Anyway, if you read the help for princomp -- ?princomp -- will
get that, you'll see that it says, in part:
‘princomp’ returns a list with class ‘princomp’ containing the
following components:
sdev: the standard deviations of the principal
Hello
On Fri, Jan 28, 2011 at 8:16 PM, Zunqiu Chen che...@ohsu.edu wrote:
It might be a simple question. But I could not find the answer from function
“prcomp” or “princomp”. Does anyone know what are the codes to get
coefficient and scores of Principal component analysis in R?
Try these:
4 matches
Mail list logo