powered by
This function performs Partial Least Squares (PLS) on a hdanova.
hdanova
pls(object, ...)# S3 method for default pls(object, ...)
# S3 method for default pls(object, ...)
An updated hdanova object with PLS results.
A hdanova object.
Additional arguments (not used).
For residuals, PCA is performed instead of PLS as there is no natural response.
# Load candies data data(candies) # Basic HDANOVA model with two factors mod <- hdanova(assessment ~ candy + assessor, data=candies) mod <- pls(mod) scoreplot(mod)
Run the code above in your browser using DataLab