Learn R Programming

HDANOVA (version 0.8.4)

pls: Partial Least Squares (PLS) for HDANOVA

Description

This function performs Partial Least Squares (PLS) on a hdanova.

Usage

pls(object, ...)

# S3 method for default pls(object, ...)

Value

An updated hdanova object with PLS results.

Arguments

object

A hdanova object.

...

Additional arguments (not used).

Details

For residuals, PCA is performed instead of PLS as there is no natural response.

Examples

Run this code
# 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