Learn R Programming

⚠️There's a newer version (2.2.1) of this package.Take me there.

ggRandomForests (version 1.1.0)

Creating and Plotting Data Objects for Understanding Random Forests

Description

The ggRandomForests package contains tools for creating and plotting data structures to visually understand random forest models. The functions are designed for use with the randomForestSRC package. This package is structured to extract intermediate data objects from the random forest. S3 Plot functions, which use the ggplot2 package, are included for each data object.

Copy Link

Version

Install

install.packages('ggRandomForests')

Monthly Downloads

749

Version

1.1.0

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

John Ehrlinger

Last Published

December 5th, 2014

Functions in ggRandomForests (1.1.0)

ggRandomForests-package

Creating and Plotting Data Objects for Understanding Random Forests
gg_partial.ggRandomForests

Partial variable dependence object
mtcars_interaction

minimal depth interaction matrix from randomForestSRC::find.interaction.
eventtable

Nonparametric survival estimates.
gg_variable.ggRandomForests

Marginal variable depedance data object.
airq_vs

Minimal depth variable selection object (randomForestSRC::var.select).
plot.gg_error

mtcars_rf

mtcars randomForestSRC::rfsrc for regression
plot.gg_interaction

iris_rf

randomForestSRC::rfsrc classification forest for Edgar Anderson's Iris Data
gg_minimal_vimp.ggRandomForests

Minimal depth vs VIMP camparison by variable ranks.
plot.gg_roc

kaplan

nonparametric kaplan-meier estimates
iris_vs

randomForestSRC::var.select minimal depth variable selection from the Iris dataset.
mtcars_prtl

A randomForestSRC::plot.variable object.
gg_roc.ggRandomForests

ROC (Recievor operator curve) data from a classification random forest.
nelson

nonparametric Nelson-Aalen estimates
gg_error.ggRandomForests

randomForestSRC error rate data object
gg_variable.randomForests

Plot the randomForest marginal dependence of variables.
airq_interaction

minimal depth interaction matrix from randomForestSRC::find.interaction.
veteran_rf

randomForestSRC::rfsrc forest for Veteran's Administration Lung Cancer Trial
plot.gg_variable

print.gg_interaction

plot.gg_rfsrc

veteran_vs

Minimal depth variable selection object (randomForestSRC::var.select).
iris_prtl

A randomForestSRC::plot.variable object.
rebuild_cache_datasets

Recreate the cached data sets for the ggRandomForests package
iris_interaction

Edgar Anderson's Iris Data
plot.gg_partial

plot.gg_vimp

Plot a gg_vimp object, extracted variable importance of a randomForestSRC::rfsrc object
pbc_vs

randomForestSRC::var.select Object for the pbc data.
airq_prtl

A randomForestSRC::plot.variable object.
gg_rfsrc.ggRandomForests

Predicted response data object
extract.RFpred

Get the predicted values from a randomForest classification forest
gg_minimal_depth.ggRandomForests

Minimal depth data object (randomForestSRC::var.select)
print.gg_error

veteran_prtl

A randomForestSRC::plot.variable object.
calc_roc.rfsrc

Internal Reciever Operator Characteristic calculator for randomForest objects
gg_vimp.ggRandomForests

Variable Importance (VIMP) data object
print.gg_rfsrc

mtcars_vs

Minimal depth variable selection object (randomForestSRC::var.select).
pbc_interaction

randomForestSRC::find.interaction matrix for the pbs data.
pbc_ggpart

A gg_partial object for the pbc data, combined from 1 and 3 year plot.variable for pbc data.
gg_interaction.ggRandomForests

Minimal Depth Variable Interaction data object (randomForestSRC::find.interaction).
pbc_prtl

randomForestSRC::plot.variable Object for the pbc data.
plot.gg_survival

Plot a gg_survival or a survival gg_rfsrc object.
print.gg_minimal_depth

gg_survival.ggRandomForests

Predicted survival data object from an randomForestSRC::rfsrc survival object.
plot.gg_partial_list

Partial variable dependence plot, operates on a gg_partial_list object.
airq_rf

Air quality randomForestSRC object.
combine

combine two gg_partial objects
veteran_interaction

randomForestSRC::find.interaction matrix for the pbs data.
calc_auc

Internal calculator for the Area Under the ROC Curve
plot.gg_minimal_vimp

Plot a gg_minimal_vimp object for comparing the Minimal Depth and VIMP variable rankings.
pbc_rf

randomForestSRC::rfsrc Object for the pbc data.
plot.gg_minimal_depth

Plot a gg_minimal_depth object for random forest variable ranking.