predict.prmda:
Predict method for models of class prmda
Description
Predictions for a PRM-DA classification model.
Usage
"predict"(object, newdata, ...)
Arguments
object
object of class prmda.
newdata
optional data frame with new observations.
...
further arguments. Currently not used.
Value
predict.prmda returns a vector of the predicted classmembership.
Details
If newdata is specified the PRM-DA classification model is used to predict the fitted values for this data set, otherwise the fitted values of the model are returned.
References
Hoffmann, I., Filzmoser, P., Serneels, S., Varmuza, K., Sparse and robust PLS for binary classification.