Learn R Programming

mdatools (version 0.14.2)

summary.pls: Summary method for PLS model object

Description

Shows performance statistics for the model.

Usage

# S3 method for pls
summary(
  object,
  ncomp = object$ncomp.selected,
  ny = seq_len(nrow(object$yloadings)),
  ...
)

Arguments

object

a PLS model (object of class pls)

ncomp

how many components to count.

ny

which y variables to show the summary for (can be a vector)

...

other arguments