Batch Process Policy Tree Interpretations
Source:R/margot_interpret_policy_batch.R
margot_interpret_policy_batch.Rd
This function batch processes outputs from margot_interpret_policy_tree() models and optionally saves them using the here_save_qs method.
Usage
margot_interpret_policy_batch(
models,
save_path = NULL,
prefix = NULL,
include_timestamp = FALSE,
...
)
Arguments
- models
A list containing the results from multi-arm causal forest models.
- save_path
The path where the interpretations will be saved. If NULL, interpretations are not saved. Default is NULL.
- prefix
An optional prefix for the filenames. Default is NULL.
- include_timestamp
Logical, whether to include a timestamp in the filename. Default is FALSE.
- ...
Additional arguments to pass to margot_interpret_policy_tree().