Learn R Programming

grf (version 2.3.2)

leaf_stats.regression_forest: Calculate summary stats given a set of samples for regression forests.

Description

Calculate summary stats given a set of samples for regression forests.

Usage

# S3 method for regression_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).