Method for making predictions on a testing dataset testX
TPLSpredict(TPLSmdl, compval, threshval, testX)
A TPLS object created from using function TPLS
Vector of number of components to use in final predictor. Providing a vector will provide multiple predictions (e.g., c(3,4,5) will provide three prediction columns each with 3, 4, and 5 PLS components)
Threshold number between 0 and 1 (inclusive) for thresholding the betamap. This must be a scalar.
Data that you want to predict the Y of
score
: Column vector of prediction scores. Matrix of scores if compval is a vector.