predict.elm: Predict with elm
Usage
# S3 method for elm
predict(object, newdata, type = c("class", "prob", "raw"), ...)
Arguments
object
elm model fitted with elm
.
newdata
data.frame with the new data
type
only used with classification, can be either "class", "prob", "raw",
which are class (vector), probability (matrix) or the output of the elm function (matrix).