predict.elm {elmNNRcpp}R Documentation

Predict with elm

Description

Wrapper for elm_predict.

Usage

## S3 method for class '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).

...

not used

Value

predicted values


[Package elmNNRcpp version 1.0.4 Index]