Plot a compact Margot policy-tree display
Source:R/margot_policy_tree_reporting.R
plot.margot_policy_tree_display.RdDraws the descriptive full-sample policy tree stored by
margot_policy_tree_display(). The stored held-out selected depth is
used automatically. The plot shows the fitted assignment rule and supplies
no additional policy-value estimate.
Usage
# S3 method for class 'margot_policy_tree_display'
plot(x, model_name = NULL, ...)Arguments
- x
A
margot_policy_tree_displayobject.- model_name
Optional model name, with or without the
model_prefix. Required whenxcontains more than one model.- ...
Arguments passed to
margot_plot_policy_decision_tree().