Builds comprehensive result object when a subgroup is found
create_success_result(
data,
best_subgroup,
trees,
tree_cuts,
selected_tree,
sg_harm_id,
values,
config
)List with complete GRF results
Data frame. Original data with subgroup assignments
Data frame row. Selected subgroup information
List. All fitted policy trees
List. Cut information from trees
Policy tree. The tree that identified the subgroup
Character. Expression defining the subgroup
Data frame. All node metrics
List. GRF configuration