50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

baseline (version 1.3-1)

PLSRTest-class: Class "PLSRTest"

Description

A class describing a PLSR prediction test. To run the test, the "pls" package must be installed.

Arguments

Objects from the Class

Objects can be created by calls of the form new("PLSRTest", ...).

Slots

ncomp:

Integer vector. The number of PLSR components to test

cvsegments:

A list of the segments to use in the cross-validation

Extends

Class '>predictionTest, directly.

Methods

runTest

signature(object = "PLSRTest"): Run the test

See Also

The base class '>predictionTest. The runTest function. The plsr function from the "pls" package.

Examples

Run this code
# NOT RUN {
showClass("PLSRTest")
# }

Run the code above in your browser using DataLab