predict.sgspls: Predict Method for sgspls

Description Usage Arguments Value

Description

Predicted values based on sparse group subgroup PLS. New responses are predicted using a fitted model and a new matrix of observations.

Usage

1
2
## S3 method for class 'sgspls'
predict(object, newdata, ...)

Arguments

object

Object of class inheriting from "sgspls".

newdata

Data matrix in which to look for for explanatory variables to be used for prediction.

...

Not currently used.

Value

perf returns a list that contains the following performance measures: predict function produces predicted values, obtained by evaluating the sparse group subgroup PLS. The prediction values are calculated based on the regression coefficients of object$Y onto object$variates$X.


matt-sutton/sgspls documentation built on June 22, 2019, 10:21 a.m.