Internal function to visualize preference for Human over AI decision makers.
vis_preference(
df,
p.title = NULL,
legend.position = "none",
p.label = c("AI-alone preferred", "Human-alone preferred", "Ambiguous")
)A ggplot object.
Data frame with columns `X`, `l01`, and `pref`.
Plot title (character).
Position of the legend (character).
Labels for the lines (character).