| ConsensusOPLS-class {ConsensusOPLS} | R Documentation |
ConsensusOPLS S4 class
Description
An object returned by the ConsensusOPLS function,
of class ConsensusOPLS, and representing a fitted Consensus OPLS
model.
Slots
modelTypeThe type of requested OPLS regression model.
responseThe provided response variable (Y).
nPcompNumber of Y-predictive components (latent variables) of the optimal model.
nOcompNumber of Y-orthogonal components (latent variables) of the optimal model.
blockContributionRelative contribution of each block (normalized
lambdavalues) to the latent variables.scoresRepresentation of the samples in the latent variables of the optimal model.
loadingsContribution of each block's variables to the latent variables of the optimal model.
VIPVariable importance in projection (VIP) for each block of data, assessing the relevance of the variables in explaining the variation in the response.
R2XProportion of variation in data blocks explained by the optimal model.
R2YProportion of variation in the response explained by the optimal model.
Q2Predictive ability of the optimal model.
DQ2Predictive ability of the optimal model, for discriminant analysis.
permStatsQ2 and R2Y of models with permuted response.
cvCross-validation result towards the optimal model. Contains
AllYhat(all predicted Y values as a concatenated matrix),cvTestIndex(indexes for the test set observations during the cross-validation rounds),DQ2Yhat(total discriminant Q-square result for all Y-orthogonal components),nOcompOpt(optimal number of Y-orthogonal components (latent variables) for the optimal model), andQ2Yhat(total Q-square result for all Y-orthogonal components).