CRAN version CRAN last day downloads CRAN last week downloads CRAN last month downloads CRAN total downloads
Zenodo DOI
Travis-CI Build Status AppVeyor Build Status



rfPermute estimates the significance of importance metrics for a Random Forest model by permuting the response variable. It will produce null distributions of importance metrics for each predictor variable and p-value of observed. The package also includes several summary and visualization functions for randomForest and rfPermute results.


To install the stable version from CRAN:


To install the latest version from GitHub:

# make sure you have Rtools installed
if (!require('devtools')) install.packages('devtools')

# install from GitHub


Current Functions

classConfInt Classification Confidence Intervals
cleanRFdata Clean Random Forest Input Data
confusionMatrix Confusion Matrix
exptdErrRate Expected Error Rate
impHeatmap Importance Heatmap
pctCorrect Percent Correctly Classified
plotConfMat Heatmap representation of Confusion Matrix
plotImpVarDist Distribution of Important Variables
plotInbag Distribution of sample inbag rates
plotNull Plot Random Forest Importance Null Distributions
plotOOBtimes Distribution of sample OOB rates
plotPredictedProbs Distribution of prediction assignment probabilities
plotRFtrace Trace of cumulative error rates in forest
plotVotes Vote Distribution
plot.rp.importance Plot Random Forest Importance Distributions
proximityPlot Plot Random Forest Proximity Scores
rfPermute Estimate Permutation p-values for Random Forest Importance Metrics
rp.combine Combine rfPermute Objects
rp.importance Extract rfPermute Importance Scores and p-values

Development version (current on GitHub)

version 2.1.5

version 2.1.1

version 2.0.1

version 2.0

version 1.9.3

version 1.9.2

version 1.9.1