Question: what is prcomp command in r?
Answer: prcomp returns a list with class "prcomp" containing the following components: sdev. the standard deviations of the principal components (i.e., the square roots of the eigenvalues of the covariance/correlation matrix, though the calculation is actually done with the singular values of the data matrix).