Skip to contents

Creates a grouping strategy that routes all observations of a group to the same child node. This is the default grouping strategy for classification.

Usage

grouping_by_label()

Value

A grouping_strategy object.

See also

Examples

grouping_by_label()
#> $name
#> [1] "by_label"
#> 
#> $display_name
#> [1] "By label"
#> 
#> attr(,"class")
#> [1] "grouping_strategy"