Re: [R] Principal Component Analysis & explained variance

2007-02-22 Thread Chuck Cleland
Milton Cezar Ribeiro wrote: > Hi there, > > How can I know the explaned variance of a PC axis generated by prcomp()? From the standard deviations of each component, you could do something like this maybe: prcomp(USArrests, scale = TRUE)$sdev^2 / ncol(USArrests) [1] 0.62006039 0.24744129 0.089

[R] Principal Component Analysis & explained variance

2007-02-22 Thread Milton Cezar Ribeiro
Hi there, How can I know the explaned variance of a PC axis generated by prcomp()? Kind regards, miltinho Brazil __ [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing lis