pathClass (version 0.9.2)

predict.rfe: Predict Method for RFE Fits...

Description

Predict Method for RFE Fits

Usage

predict.rfe(object, newdata, type="response", ...)

Arguments

object
a fitted object of class inheriting from 'rfe'
newdata
a matrix with variables to predict
type
response gives the predictions class gives the predicted classes.
...
currently ignored.

Value

  • the predictions.

Details

Obtains predictions from a fitted RFE object.

Examples

Run this code
library(pathClass)
data(example_data)
fit = fit.rfe(x[1:5,], y[1:5], DEBUG=T)
predict(fit, newdata=x[6:10,])

Run the code above in your browser using DataCamp Workspace