powered by
Write text to one of four corners of a plot
annotate_corner(text, pos = "tl", geom = c("text", "label"), ...)
character string
character of "tl", "tr", "bl", "br" to indicate position (you may also use the full names, "bottomleft", etc...)
"tl"
"tr"
"bl"
"br"
"bottomleft"
"text" or "label" geoms
additional options passed to ggplot2::geom_label
ggplot layer
If multiple panels, will write to all panels.
# NOT RUN { posterior_plot() + annotate_corner("Hi.", "bottomright") # }
Run the code above in your browser using DataLab