lukemiller.org» Blog Archive » Adding p values and R squared values to a plot using expression()
This makes the final plot I was originally looking for. The R 2 value and p-value are inserted in the top corner of the plot, automatically justified so they fit nicely inside the boundary of the figure. If my dataset changes in the future, I can re-run t...