Package: ggRandomForests 3.1.0

John Ehrlinger

ggRandomForests: Visually Exploring Random Forests

Graphic elements for exploring Random Forests using the 'randomForest' or 'randomForestSRC' package for survival, regression and classification forests and 'ggplot2' package plotting. Implements visualisations of the methods described in Breiman (2001) <doi:10.1023/A:1010933404324> and Ishwaran, Kogalur, Blackstone, and Lauer (2008) <doi:10.1214/08-AOAS169>.

Authors:John Ehrlinger [aut, cre]

ggRandomForests_3.1.0.tar.gz
ggRandomForests_3.1.0.tar.gz(r-4.7-any)ggRandomForests_3.1.0.tar.gz(r-4.6-any)
ggRandomForests_3.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
ggRandomForests/json (API)
NEWS

# Install 'ggRandomForests' in R:
install.packages('ggRandomForests', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/ehrlinger/ggrandomforests/issues

Pkgdown/docs site:https://ehrlinger.github.io

On CRAN:

Conda:

quarto

6.17 score 244 scripts 957 downloads 16 mentions 23 exports 83 dependencies

Last updated from:52ba2d347d. Checks:4 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK275
source / vignettesOK400
linux-release-x86_64OK263
wasm-releaseOK148

Exports:calc_auccalc_rocgg_beta_varprogg_briergg_errorgg_isoprogg_ivarprogg_partialgg_partial_rfsrcgg_partial_varprogg_partialprogg_rfsrcgg_rocgg_survivalgg_udependentgg_variablegg_varprogg_vimpkaplannelsonquantile_ptssurv_partial.rfsrcvarpro_feature_names

Dependencies:BARTbase64encbitbit64bslibcachemclicliprcodetoolscpp11crayondata.treeDiagrammeRdigestdplyrevaluatefarverfastmapfontawesomeforeachfsgbmgenericsggplot2glmnetgluegtablehighrhmshtmltoolshtmlwidgetsigraphisobanditeratorsjquerylibjsonliteknitrlabelinglatticelifecyclemagrittrMatrixmemoisemimenlmepatchworkpillarpkgconfigprettyunitsprogresspurrrR6randomForestrandomForestSRCrappdirsRColorBrewerRcppRcppEigenreadrrlangrmarkdownrstudioapiS7sassscalesshapestringistringrsurvivaltibbletidyrtidyselecttinytextzdbutf8varProvctrsviridisLitevisNetworkvroomwithrxfunyaml

Exploring variable importance with varPro

Rendered fromvarpro.qmdusingquarto::htmlon Jun 11 2026.

Last update: 2026-06-11
Started: 2026-06-11

Random Forest Regression with ggRandomForests

Rendered fromggRandomForests-regression.qmdusingquarto::htmlon Jun 11 2026.

Last update: 2026-06-11
Started: 2026-05-02

Random Forest Survival Analysis with ggRandomForests

Rendered fromggRandomForests-survival.qmdusingquarto::htmlon Jun 11 2026.

Last update: 2026-06-11
Started: 2026-05-02

Vignette's Title

Rendered fromggRandomForests.qmdusingquarto::htmlon Jun 11 2026.

Last update: 2026-06-11
Started: 2026-05-02

Readme and manuals

Help Manual

Help pageTopics
ggRandomForests: Visually Exploring Random ForestsggRandomForests-package
'autoplot' methods for 'ggRandomForests' data objectsautoplot.gg autoplot.gg_brier autoplot.gg_error autoplot.gg_isopro autoplot.gg_partial autoplot.gg_partialpro autoplot.gg_partial_rfsrc autoplot.gg_partial_varpro autoplot.gg_rfsrc autoplot.gg_roc autoplot.gg_survival autoplot.gg_udependent autoplot.gg_variable autoplot.gg_varpro autoplot.gg_vimp
Area Under the ROC Curve calculatorcalc_auc calc_auc.gg_roc
Receiver Operator Characteristic calculatorcalc_roc calc_roc.randomForest calc_roc.rfsrc
Per-variable lasso-beta importance from a varPro fitgg_beta_varpro
Brier score and CRPS for survival forestsgg_brier
Random forest error trajectory data objectgg_error gg_error.randomForest gg_error.randomForest.formula gg_error.rfsrc
Tidy data from a varPro isolation-forest fitgg_isopro
Individual (local) variable importance from a varPro fitgg_ivarpro
Split partial dependence data into continuous or categorical datasetsgg_partial
Partial dependence data from an rfsrc modelgg_partial_rfsrc
Partial dependence data from a varPro modelgg_partialpro gg_partial_varpro
Predicted response data objectgg_rfsrc gg_rfsrc.rfsrc
ROC (Receiver Operating Characteristic) curve data from a classification forest.gg_roc gg_roc.randomForest gg_roc.rfsrc
Nonparametric survival estimates.gg_survival gg_survival.default gg_survival.rfsrc
Variable dependency graph from a uvarpro modelgg_udependent
Marginal variable dependence data object.gg_variable gg_variable.random gg_variable.randomForest gg_variable.rfsrc
Variable importance data from a varPro modelgg_varpro
Variable Importance (VIMP) data objectgg_vimp gg_vimp.randomForest gg_vimp.randomForest.formula gg_vimp.rfsrc
nonparametric Kaplan-Meier estimateskaplan
nonparametric Nelson-Aalen estimatesnelson
Plot a 'gg_beta_varpro' objectplot.gg_beta_varpro
Plot a 'gg_brier' objectplot.gg_brier
Plot a 'gg_error' objectplot.gg_error
Plot a varPro isolation-forest anomaly scoreplot.gg_isopro
Plot a 'gg_ivarpro' objectplot.gg_ivarpro
Plot a 'gg_partial' objectplot.gg_partial
Plot a 'gg_partial_rfsrc' objectplot.gg_partial_rfsrc
Plot a 'gg_partial_varpro' objectplot.gg_partialpro plot.gg_partial_varpro
Predicted response plot from a 'gg_rfsrc' object.plot.gg_rfsrc
ROC plot generic function for a 'gg_roc' object.plot.gg_roc
Plot a 'gg_survival' object.plot.gg_survival
Plot a 'gg_udependent' variable dependency graphplot.gg_udependent
Plot a 'gg_variable' object,plot.gg_variable
Plot a 'gg_varpro' variable importance objectplot.gg_varpro
Plot a 'gg_vimp' object, extracted variable importance of a 'rfsrc' objectplot.gg_vimp
Print methods for gg_* data objectsprint.gg print.gg_beta_varpro print.gg_brier print.gg_error print.gg_isopro print.gg_ivarpro print.gg_partial print.gg_partialpro print.gg_partial_rfsrc print.gg_partial_varpro print.gg_rfsrc print.gg_roc print.gg_survival print.gg_udependent print.gg_variable print.gg_varpro print.gg_vimp print.summary.gg_udependent
Quantile-based cut points for coplotsquantile_pts
Summary methods for gg_* data objectsprint.summary.gg summary.gg summary.gg_beta_varpro summary.gg_brier summary.gg_error summary.gg_isopro summary.gg_ivarpro summary.gg_partial summary.gg_partialpro summary.gg_partial_rfsrc summary.gg_partial_varpro summary.gg_rfsrc summary.gg_roc summary.gg_survival summary.gg_udependent summary.gg_variable summary.gg_varpro summary.gg_vimp
Survival partial dependence data for one or more predictorssurv_partial.rfsrc
Recover original variable names from varpro one-hot encoded feature namesvarpro_feature_names