I have a ggplot stored in say p
and wish to add a poly_stat_eq
layer to display the equation of the curve. I want to change to font size of the text but I'm unable to find a documentation on how to achieve it
p +
stat_poly_eq(formula = y ~ x,
aes(label = paste(..eq.label.., ..rr.label.., sep = "~~~")),
label.x = 4, label.y = -5, parse = TRUE)