rmse function in r code example Example: calc_rmse in R calc_rmse(df_all, date_min = NULL, center = F)