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
)
Examples
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))