predict.elm: Predict with elm

View source: R/elm.R

predict.elmR 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


elmNNRcpp documentation built on March 18, 2022, 7:26 p.m.