r squared in regression code example
Example: R squared regression in r with ggplot
+ geom_smooth(method=lm, se=F) +
stat_poly_eq(formula = my.formula,
aes(label = paste(..eq.label.., ..rr.label.., sep = "~~~")),
parse = T)