| TPLSpredict | R Documentation |
Method for making predictions on a testing dataset testX
TPLSpredict(TPLSmdl, compval, threshval, testX)
TPLSmdl |
A TPLS object created from using function |
compval |
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) |
threshval |
Threshold number between 0 and 1 (inclusive) for thresholding the betamap. This must be a scalar. |
testX |
Data that you want to predict the Y of |
score: Column vector of prediction scores. Matrix of scores if compval is a vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.