results <- run_specs(df = example_data,
y = c("y1", "y2"),
x = c("x1", "x2"),
model = c("lm"),
controls = c("c1", "c2"))
# Basic, non-labelled decisions tree
plot_decisiontree(results)
# Labelled decisions tree
plot_decisiontree(results, label = TRUE)
# Add legend
plot_decisiontree(results, label = TRUE, legend = TRUE)
Run the code above in your browser using DataLab