tl_plot_partial_dependence: Plot partial dependence for tree-based models

View source: R/supervised-trees.R

tl_plot_partial_dependenceR Documentation

Plot partial dependence for tree-based models

Description

Plot partial dependence for tree-based models

Usage

tl_plot_partial_dependence(model, var, n.pts = 20, ...)

Arguments

model

A tidylearn tree-based model object

var

Variable name to plot

n.pts

Number of points for continuous variables (default: 20)

...

Additional arguments

Value

A ggplot object


tidylearn documentation built on Feb. 6, 2026, 5:07 p.m.