From: Benjamin Auder Date: Wed, 29 Mar 2017 19:17:41 +0000 (+0200) Subject: 'update' X-Git-Url: https://git.auder.net/variants/current/doc/scripts/R.css?a=commitdiff_plain;h=1f811218e0599f4b430cb26fb59b7fe7b3f5bb89;p=talweg.git 'update' --- diff --git a/reports/report.gj b/reports/report.gj index 8e0f9ea..44dd6de 100644 --- a/reports/report.gj +++ b/reports/report.gj @@ -53,12 +53,13 @@ p4 = computeForecast(data, ${list_indices[i]}, "Average", "Zero", horizon=H) p5 = computeForecast(data, ${list_indices[i]}, "Persistence", "Zero", horizon=H, same_day=${'TRUE' if loop.index < 2 else 'FALSE'}) -----r -e1 = computeError(data, p_nz_mf, H) -e2 = computeError(data, p_nz_mfl, H) -e3 = computeError(data, p_a, H) -e4 = computeError(data, p_p, H) +e1 = computeError(data, p1, H) +e2 = computeError(data, p2, H) +e2 = computeError(data, p3, H) +e3 = computeError(data, p4, H) +e4 = computeError(data, p5, H) options(repr.plot.width=9, repr.plot.height=7) -plotError(list(e_n, e_p, e_a, e_l), cols=c(1,2,colors()[258], 4)) +plotError(list(e1, e5, e4, e2, e3), cols=c(1,2,colors()[258],4,6)) # noir: Neighbors non-local (p1), bleu: Neighbors local endo (p2), mauve: Neighbors local none (p3), # vert: moyenne (p4), rouge: persistence (p5)