pca | R Documentation |
Method to calculate a PCA based on the exposures of an ExposomeSet. Only numerical-exposures (non categorical) will be computed. The function resurns an ExposomePCA object. This PCA is performed by using FactoMineR package.
pca(object, npc = 10, pca = FALSE, ...)
object |
|
npc |
(by default 10) number of dimensions kept in the results |
pca |
(default |
... |
Arguments to be passed to imputeFAMD |
An ExposomePCA
with the values of the PCA.
plotPCA to plot the PCA values of an ExposomePCA, clustering to see how the exposures can cluster samples, correlation to compute the correlation between exposures
data("exposome") epca <- pca(expo[12:20, ])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.