Internal wrapper for policy tree computation
Source:R/margot_policy_tree_utils.R
dot-compute_policy_tree.Rd
Internal function that wraps either policytree::policy_tree() or fastpolicytree::fastpolicytree() depending on user preference and package availability.
Usage
.compute_policy_tree(
X,
Gamma,
depth,
tree_method = "policytree",
min_node_size = getOption("margot.policy_tree.min_node_size", 1L)
)