predict.rfe: Predict Method for RFE Fits

Description Usage Arguments Value Author(s) Examples

Description

Obtains predictions from a fitted RFE object.

Usage

1
2
  ## S3 method for class 'rfe'
predict(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.

Author(s)

Marc Johannes JohannesMarc@gmail.com

Examples

1
2
3
4
5
6
7
## Not run: 
library(pathClass)
data(example_data)
fit = fit.rfe(x[1:5,], y[1:5], DEBUG=T)
predict(fit, newdata=x[6:10,])

## End(Not run)


Search within the pathClass package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.