Percent of 2 first principal components

I need to calculate this: what portion of the total information is maintained by the first two principal components in the two cases?

I have calculated PCA using this function, but I got stuck while trying to calculate the proportion of two first principal components. Can you kindly help me with this?

PCA = prcomp(swiss, center = TRUE, scale = TRUE)

PCA

try the summary() function on PCA

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.