Method for extracting the T-PLS predictor at a given compval and threshval
makePredictor(TPLSmdl, compval, threshval)
A TPLS object created from using function TPLS
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)
Threshold number between 0 and 1 (inclusive) for thresholding the betamap. This must be a scalar.
bias
: The intercept of the extracted model. Vector of intercepts if compval is a vector.
betamap
: Column vector of betamap. Matrix of betamaps if compval is a vector.