calculateAMDMS: Forest Averaged Minimal Depth of a Maximal Subtree (AMDMS)
Description
Given a result from the Ranger package (write.forest must
be set to TRUE), this function will traverse the trees and calculate the
first and second order average minimal depth of a maximal subtree.
Usage
calculateAMDMS(ranger_obj)
Arguments
ranger_obj
A ranger object from the ranger package, which was created
with param write.forest set to TRUE. In other words, it must have a
'forest' property.
Value
A data.frame with two columns: averaged first and second order
minimal depth of a maximal subtree.