How to understand 'prcomp' result?
After running below code, we get prcomp result 'res.pca'.
It include '$ sdev
'/'$ rotation
'/'$ center
'/'$ scale
$ x
',how to understand all of them. Thanks.
library(factoextra)
data("decathlon2")
decathlon.active <- decathlon2[1:23, 1:10]
res.pca <- prcomp(decathlon.active,scales=TRUE)
str(res.pca)