Function to predict from ddsPLS objects
# S3 method for ddsPLS
predict(
object,
X_test = NULL,
toPlot = FALSE,
doDiagnosis = T,
legend.position = "topright",
cex = 1,
cex.text = 1,
...
)A ddsPLS object.
matrix, a test data-set. If is "NULL", the default value, the predicted values for the train test are returned.
boolean, wether or not to plot the extreme value test plot. Default to `TRUE`.
Yes or no to perform diagnosis.
character. Where to put the legend.
float positive. Number indicating the amount by which plotting symbols should be scaled relative to the default.
float positive. Number indicating the amount by which plotting text elements should be scaled relative to the default.
Other parameters
ddsPLS, plot.ddsPLS, summary.ddsPLS