<Performing PCA and reducing a data frame dimension by discarding the less explanatory variables in terms of global variance.>
1 | PCAvariables(df, n = 1, minexpl = 0.15)
|
df |
A data.frame object. |
n |
Integer, number of PCA's to simulate in order to impute missing data, with missMDA package, default is 1. |
minexpl |
Real number from 0 to 1, minimum proportion of explained variance to keep each column of the data.frame; default is 0.15. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.