Description Usage Arguments Value See Also Examples
Get and fortify PCA
1 | fortify_pca(m_data, ..., sup_vars = NULL)
|
m_data |
Input matrix |
... |
Passed to stats::prcomp |
sup_vars |
Optional supplementary variables |
Fortified dimension reduction
fortify_dimred, fortify_ica
1 2 | df_pca <- fortify_pca(iris[-5])
df_pca <- fortify_pca(iris[-5], sup_vars = iris[5])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.