q2(originalData, predictedData, model = NULL)inner, reflective, and formative defining the free regression paths
in the model.total, block, and indicator elements containing
the Q2 predictive relevance statistics for the full dataset, for each indicator block, and
for each indicator
1-sse/sso where sse is the sum of
squared prediction errors based on comparison of the originalData and
predictedData and sso is based on prediction with mean. If the predicted
data contain the groups attribute, which indicates the groups used in blindfolding
or cross-validation, the means are calculated separately for each group excluding the
predicted group from the calculation.