predopls {resemble} | R Documentation |
opls
and opls2
functionsPredicts response values based on a model generated by either by opls
or the opls2
functions.
For internal use only!.
predopls(bo, b, ncomp, newdata, scale, Xscale)
bo |
a numeric value indicating the intercept. |
b |
the |
ncomp |
an integer value indicating how may components must be used in the prediction. |
newdata |
a |
scale |
a logical indicating whether the matrix of predictors used to create the regression model was scaled. |
Xscale |
if |
a matrix
of predicted values.
Leonardo Ramirez-Lopez