Prediction Plots
pred_plot(
x,
plot_list = list(),
incl,
incl_int,
fix = TRUE,
hline = TRUE,
nr = 20
)
Return value from a model
List used to store plots
Which variables to include in prediction plots
Which interactions to investigate in prediction plots
Set the desired limited on yhat or have it calculated automatically. Set to FALSE to have y-axis limits set by ggplot2 for each plot
Add a horizontal line at the average of the target variable. When set to FALSE no line is added. When set to a specific number, the horizontal line will be added at that value
Number of values to use to generate predictions for a numeric explanatory variable
Faster, but less robust, alternative for PDP plots. Variable values not included in the prediction are set to either the mean or the most common value (level)