Plot interaction effects
tl_plot_interaction(
model,
var1,
var2,
n_points = 100,
fixed_values = NULL,
confidence = TRUE,
...
)A ggplot object
A tidylearn model object
First variable in the interaction
Second variable in the interaction
Number of points to use for continuous variables
Named list of values for other variables in the model
Logical; whether to show confidence intervals
Additional arguments to pass to predict()