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