r squared for polynomial regression code example
Example 1: 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)
Example 2: calc_rmse in R
calc_rmse(df_all, date_min = NULL, center = F)