leaf_stats.causal_forest: Calculate summary stats given a set of samples for causal forests.
Description
Calculate summary stats given a set of samples for causal forests.
Usage
# S3 method for causal_forest
leaf_stats(forest, samples, ...)
Value
A named vector containing summary stats
Arguments
- forest
The GRF forest
- samples
The samples to include in the calculations.
- ...
Additional arguments (currently ignored).