Learn R Programming

climbeR (version 0.0.1)

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.

Usage

plotFirstAndSecondOrderMetric(eval_data, plot_missing_so = FALSE, add_text_labels = FALSE)

Arguments

eval_data
The output of calculateAMDMS.
plot_missing_so
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.