Learn R Programming

climbeR (version 0.0.1)

Calculate Average Minimal Depth of a Maximal Subtree for 'ranger' Package Forests

Description

Calculates first, and second order, average minimal depth of a maximal subtree for a forest object produced by the R 'ranger' package. This variable importance metric is implemented as described in Ishwaran et. al. ("High-Dimensional Variable Selection for Survival Data", March 2010, ).

Copy Link

Version

Install

install.packages('climbeR')

Monthly Downloads

4

Version

0.0.1

License

MIT + file LICENSE

Maintainer

John Karlen

Last Published

November 19th, 2016

Functions in climbeR (0.0.1)

getAndPlotMetric

Calculate the metric and make Second Order vs First Order plot
lookForVarsAbsentInForest

Look for Variable ID's that didn't occur in the Forest.
plotAMDMSvsNumSplits

Plot metric vs number of splits per variable.
plotFirstAndSecondOrderMetric

Plot Second Order vs First Order, minimal depth of a maximal subtree, averaged over the forest (shortened to "metric" for brevity)
calculateAMDMS

Forest Averaged Minimal Depth of a Maximal Subtree (AMDMS)
countSplitsPerVar

Count Splits Per Variable
recursiveDepthBinning

Recursive Depth Binning
startRecursiveDepthBinning

Start Recursive Depth Binning
baseRPlotting

Plot Second Order vs First Order minimal depth of a maximal subtree depth for base R
binForestByDepth

Bin Forest by Depth