View source: R/principal_components.R
| WH.MultiplePCA | R Documentation |
(Beta version) Principal component analysis of several histogram variables
based on the L2 Wasserstein distance: a multiple factor analysis
(MFA) of the quantiles of the histograms, where each
variable is a group of quantiles. It extends WH.1d.PCA.
WH.MultiplePCA(data, list.of.vars, quantiles = 10, outl = 0, graph = TRUE)
data |
A |
list.of.vars |
A vector of integers, the columns of the variables to analyse. |
quantiles |
An integer, the number of quantiles used in the analysis (default 10). |
outl |
A number between 0 (default) and 0.5, the probability mass removed from each tail of the distributions (e.g. 0.1 removes 10% from each tail). |
graph |
A logical value (default |
The results of MFA.
WH.plot_multiple_Spanish.funs,
WH.plot_multiple_indivs
res <- WH.MultiplePCA(BLOOD, list.of.vars = c(1:3), graph = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.