
Last chance! 50% off unlimited learning
Sale ends in
This documentation covers a range of single- and two-block methods. In particular:
PCA - Principal Component Analysis (pca
)
PCR - Principal Component Regression (pcr
)
PLSR - Partial Least Squares Regression (plsr
)
CCA - Canonical Correlation Analysis (cca
)
IFA - Interbattery Factor Analysis (ifa
)
GSVD - Generalized SVD (gsvd
)
Overviews of available methods, multiblock
, and methods organised by main structure: basic
, unsupervised
, asca
, supervised
and complex
.
data(potato)
X <- potato$Chemical
y <- potato$Sensory[,1,drop=FALSE]
pca.pot <- pca(X, ncomp = 2)
pcr.pot <- pcr(y ~ X, ncomp = 2)
pls.pot <- plsr(y ~ X, ncomp = 2)
cca.pot <- cca(potato[1:2])
ifa.pot <- ifa(potato[1:2])
gsvd.pot <- gsvd(lapply(potato[3:4], t))
Run the code above in your browser using DataLab