Performs MB-PCA on a set of quantitative blocks of variables.
MBPCA(
X,
block,
name.block = NULL,
ncomp = NULL,
scale = TRUE,
scale.block = TRUE
)Returns a list of the following elements:
Numeric vector of the optimal value of the criterion (sum of saliences) obtained for each dimension.
Matrix of the specific weights of each block of variables on the global components, for each dimension.
Matrix of normed global components.
Matrix of global components (scores of individuals).
Matrix of global weights (normed) associated with deflated X.
Matrix of global loadings (normed) = W.g in the specific context of MB-PCA.
Matrix of global projection (to compute scores from pretreated X) = W.g in the specific context of MB-PCA.
Matrix of percentages of inertia explained in each block of variables.
Matrix giving the percentages, and cumulative percentages, of total inertia of X blocks explained by the global components.
A list containing block components (T.b) and block weights (W.b)
Dataset obtained by horizontally merging all the blocks of variables.
Vector indicating the number of variables in each block.
names of the blocks of variables (NULL by default).
Number of dimensions to compute. By default (NULL), all the global components are extracted.
Logical, if TRUE (by default) then variables are scaled to unit variance (all variables are centered anyway).
Logical, if TRUE (by default) each block of variables is divided by the square root of its inertia (Frobenius norm).
S. Wold, S. Hellberg, T. Lundstedt, M. Sjostrom, H. Wold (1987). Hierarchical multiblock PLS and PC models for easier model interpretation and as an alternative to variable
selection, in: Proc. Symp. On PLS Model Building: Theory and Application, Frankfurt am Main.
E. Tchandao Mangamana, V. Cariou, E. Vigneau, R. Glèlè Kakaï, E.M. Qannari (2019). Unsupervised multiblock data analysis: A unified approach and extensions, Chemometrics and Intelligent Laboratory Systems, 194, 103856.
summary.MBPCA plot.MBPCA
data(ham)
X=ham$X
block=ham$block
res.mbpca <- MBPCA(X,block, name.block=names(block))
summary(res.mbpca)
plot(res.mbpca)
Run the code above in your browser using DataLab