obliqueRF (version 0.3)

importance: Extract variable importance measure

Description

This is the extractor function for variable importance measures as produced by obliqueRF.

Usage

"importance"(x, ...)

Arguments

x
an object of class obliqueRF.
...
not used.

Value

The variable importance

See Also

obliqueRF

Examples

Run this code
require(obliqueRF);
data(iris);
#extract feature matrix
x<-as.matrix(iris[,1:4]);
#convert to 0/1 class labels
y<-(as.numeric(iris[,5])>1)*1;

iris.orf <- obliqueRF(x,y,training_method="log",bImportance=TRUE);
importance(iris.orf);

## Also see example given in ?obliqueRF()

Run the code above in your browser using DataCamp Workspace