pls | R Documentation |
This function performs Partial Least Squares (PLS) on a hdanova
.
pls(object, ...)
## Default S3 method:
pls(object, ...)
object |
A |
... |
Additional arguments (not used). |
For residuals, PCA is performed instead of PLS as there is no natural response.
An updated hdanova
object with PLS results.
# Load candies data
data(candies)
# Basic HDANOVA model with two factors
mod <- hdanova(assessment ~ candy + assessor, data=candies)
mod <- pls(mod)
scoreplot(mod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.