Learn R Programming

bigPLSR (version 0.7.2)

summary.big_plsr: Summarize a big_plsr model

Description

Summarize a big_plsr model

Usage

# S3 method for big_plsr
summary(object, ..., X = NULL, Y = NULL)

Value

An object of class summary.big_plsr.

Arguments

object

A fitted PLS model.

...

Unused.

X

Optional design matrix to recompute reconstruction metrics.

Y

Optional response matrix/vector.

Examples

Run this code
set.seed(123)
X <- matrix(rnorm(40), nrow = 10)
y <- X[, 1] - 0.5 * X[, 2] + rnorm(10, sd = 0.1)
fit <- pls_fit(X, y, ncomp = 2, scores = "r")
summary(fit)

Run the code above in your browser using DataLab