Skip to contents

Thin, explicit wrapper around margot_plot_decision_tree(). Use this helper when the intended artefact is the branching assignment rule.

Usage

margot_plot_policy_decision_tree(result_object, model_name = NULL, ...)

Arguments

result_object

A list returned by margot_causal_forest(), margot_policy_tree_display(), or a compatible policy-tree workflow object. A compact display object supports this decision-tree plot because it stores the fitted tree; it does not supply the observation-level data required by margot_plot_policy_projection().

model_name

Character scalar naming the model to plot, with or without the model_ prefix. May be omitted for a margot_policy_tree_display object containing exactly one model.

...

Arguments passed to margot_plot_decision_tree().

Value

A ggplot object.