View source: R/ability_agreement.R
vis_agreement | R Documentation |
Internal function to visualize the agreement between human decisions and AI recommendations using a difference-in-means estimator of an indicator 1\{D_i = A_i\}
.
vis_agreement(
df,
p.title = NULL,
p.lb = -0.2,
p.ub = 0.2,
y.lab = "Impact of PSA"
)
df |
A data frame generated by |
p.title |
A title for the plot (character). Default NULL. |
p.lb |
A lower bound for the y-axis (numeric). Default -0.2. |
p.ub |
An upper bound for the y-axis (numeric). Default 0.2. |
y.lab |
A label for the y-axis (character). Default "Impact of PSA". |
A ggplot object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.