Find important interactions automatically
tl_auto_interactions(
data,
formula,
top_n = 3,
min_r2_change = 0.01,
max_p_value = 0.05,
exclude_vars = NULL
)A tidylearn model with important interactions
A data frame containing the data
A formula specifying the base model without interactions
Number of top interactions to return
Minimum change in R-squared to consider
Maximum p-value for significance
Character vector of variables to exclude from interaction testing