pca {rexposome} | 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)
object |
|
npc |
(by default 10) number of dimensions kept in the results |
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, ])