View source: R/ability_preference.R
vis_preference | R Documentation |
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")
)
df |
Data frame with columns 'X', 'l01', and 'pref'. |
p.title |
Plot title (character). |
legend.position |
Position of the legend (character). |
p.label |
Labels for the lines (character). |
A ggplot object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.