Annotation function to add AUC/V to a given plot
pp_annotate(formula, data, ref_group = NULL, x, y, text_size,
theme = "standard")
A formula of the type out ~ group
where out
is
the outcome variable and group
is the grouping variable. Note the
grouping variable must only include only two groups.
The data frame that the data in the formula come from.
Optional character vector (of length 1) naming the reference group to be plotted on the x-axis. Defaults to the highest scoring group.
The x-axis location for the text.
The y-axis location for the text.
Size of the text used in the annotation
The theme for the plot.