Learn R Programming

fChange (version 2.1.0)

pca_examination: Principal Component Exploration

Description

Computes the principal component projection and re-combined data with a myriad of figures to understand the projection process.

Usage

pca_examination(X, TVE = 0.95)

Value

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.

Arguments

X

A dfts object or data which can be automatically converted to that format. See dfts().

TVE

Numeric in [0,1] for the total variance explained, this determines the number of components and can be used for dimension reduction.

See Also

pca.dfts()

Examples

Run this code
results <- pca_examination(electricity, TVE = 0.9)

Run the code above in your browser using DataLab