PCA.selection:
Selection of optimal number of components using PCA
Description
Function to select the number of optimal components using Principal Components Analysis. There are four different criterions to select the number of components: accumulated variance explained, the individual explained variance of each component, the absolute value of its
variability or just a fixed number of components.