Learn R Programming

RWNN (version 0.4)

predict.RWNN: Predicting targets of an RWNN-object

Description

Predicting targets of an RWNN-object

Usage

# S3 method for RWNN
predict(object, ...)

Value

A vector of predicted values.

Arguments

object

An RWNN-object.

...

Additional arguments.

Details

The additional arguments used by the function are 'newdata' and 'class'. The argument 'newdata' expects a matrix or data.frame with the same features (columns) as in the original data. While the 'class' argument can be set to "classify". If class == "classify" additional arguments 't' and 'b' can be passed to the classify-function.