pathClass (version 0.9.4)

predict.rrfe: Predict Method for RRFE Fits

Description

Obtains predictions from a fitted RRFE object.

Usage

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

Arguments

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

Value

the predictions.

Examples

Run this code
## Not run: 
# library(pathClass)
# data(example_data)
# fit = fit.rrfe(x[1:5,], y[1:5], DEBUG=T, mapping=mapping, Gsub=adjacency.matrix)
# predict(fit, newdata=x[6:10,])
# ## End(Not run)

Run the code above in your browser using DataLab