plotFirstAndSecondOrderMetric: Plot Second Order vs First Order, minimal depth of a maximal subtree,
averaged over the forest (shortened to "metric" for brevity)
Description
Given evaluated data from calculateAMDMS, plot the result.
An optional parameter to show features that only
have a first order metric value. Variables can have high feature strength,
but may be unlikely to have a second maximal subtree because of low
cardinality.
add_text_labels
An optional parameter to turn on text labels next
to the feature's dot on the plot.
Value
so_vs_fo A ggplot2 object, which shows second order vs first
order average minimal depth of a maximal subtree depth.