Plot values of principal components (instead proportion of variance)

Issue #659 resolved
Former user created an issue

Hi,

when you plot the PCA results, you get a plot of the proportion of variance for each principle component (the plot in the bottom right corner of the graphic you get with plot.pca(...)).

Is it possible to plot also the value of the variance for each PC, sorted by the rank of the components?

Thank you in advance for helping me.

Comments (2)

  1. Xinqiu Yao

    The variance of each PC is represented by the eigenvalue, which is stored in pc$L. You can easily make a plot of these values mimicking the scree plot. For example, plot(pc$L[1:20], typ="o", pch=20)

  2. Log in to comment