Skip to contents

Draws 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_display object.

model_name

Optional model name, with or without the model_ prefix. Required when x contains more than one model.

...

Arguments passed to margot_plot_policy_decision_tree().

Value

A ggplot object.