Skip to content
Prev 155569 / 398502 Next

PCA and % variance explained

pgseye wrote:
You can plot the princomp object using screeplot() and you can get the 
percentage of explained variance from the princomp object p using
p$sdev^2 / sum(p$sdev^2)