makePredictor {TPLSr}R Documentation

Method for extracting the T-PLS predictor at a given compval and threshval

Description

Method for extracting the T-PLS predictor at a given compval and threshval

Usage

makePredictor(TPLSmdl, compval, threshval)

Arguments

TPLSmdl

A TPLS object created from using function TPLS

compval

Vector of number of components to use in final predictor. Providing a vector will provide multiple betamaps (e.g., c(3,4,5) will provide three betamaps each with 3, 4, and 5 PLS components)

threshval

Threshold number between 0 and 1 (inclusive) for thresholding the betamap. This must be a scalar.

Value


[Package TPLSr version 1.0.4 Index]