Learn R Programming

mdatools (version 0.9.1)

summary.pls: Summary method for PLS model object

Description

Shows performance statistics for the model.

Usage

# S3 method for pls
summary(object, ncomp = NULL, ny = NULL, ...)

Arguments

object

a PLS model (object of class pls)

ncomp

how many components to use (if NULL - user selected optimal value will be used)

ny

which y variable to show the summary for (if NULL, will be shown for all)

...

other arguments