powered by
Computes the principal component projection and re-combined data with a myriad of figures to understand the projection process.
pca_examination(X, TVE = 0.95)
List with the following elements:
figures: List with figures on all components, summaries, reconstructed values, and residuals.
reconstruction: Reconstructed value from PCs.
residuals: Difference between true and reconstruction.
A dfts object or data which can be automatically converted to that format. See dfts().
dfts()
Numeric in [0,1] for the total variance explained, this determines the number of components and can be used for dimension reduction.
pca.dfts()
results <- pca_examination(electricity, TVE = 0.9)
Run the code above in your browser using DataLab