View source: R/supervised-trees.R
| tl_plot_partial_dependence | R Documentation |
Plot partial dependence for tree-based models
tl_plot_partial_dependence(model, var, n.pts = 20, ...)
model |
A tidylearn tree-based model object |
var |
Variable name to plot |
n.pts |
Number of points for continuous variables (default: 20) |
... |
Additional arguments |
A ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.