reconstruct.pca | R Documentation |
Reconstructs the original (centered) data matrix from the PCA scores and loadings.
## S3 method for class 'pca'
reconstruct(x, comp = 1:ncomp(x), ...)
x |
A |
comp |
Integer vector specifying which components to use for reconstruction (default: all components in |
... |
Extra arguments (ignored). |
A matrix representing the reconstructed data in the original scale (preprocessing reversed).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.