## Generate a ruleset for a specific model amongst the 500.
if (FALSE) randomForest2Rules(rfmodel, 5)
## Generate a ruleset for specific models amongst the 500.
if (FALSE) randomForest2Rules(rfmodel, c(5,10,15))
## Generate a ruleset for each of the 500 models.
if (FALSE) randomForest2Rules(rfmodel)
Run the code above in your browser using DataLab