View source: R/unsupervised-pca.R
| augment_pca | R Documentation |
Add PC scores to the original dataset
augment_pca(pca_obj, data, n_components = NULL)
pca_obj |
A tidy_pca object |
data |
Original data frame |
n_components |
Number of PCs to add (default: all) |
Original data with PC scores added
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.