From 6710081f89f7befd2955ef11d78d0e26e6d26bb0 Mon Sep 17 00:00:00 2001 From: Benjamin Auder Date: Wed, 22 Feb 2017 12:05:10 +0100 Subject: [PATCH] 'update' --- data/scripts/build_testdata.R | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/data/scripts/build_testdata.R b/data/scripts/build_testdata.R index 9bc4fa4..516eae6 100644 --- a/data/scripts/build_testdata.R +++ b/data/scripts/build_testdata.R @@ -1,5 +1,11 @@ # Only one covariable (so that the "matrix" is always invertible) +#Lundi à dimanche, 182 jours +dates = seq(as.Date("2007-01-01"),as.Date("2007-07-01"),"days") +L = length(dates) #182 +exo_df = data.frame( "Date"=dates, "var"=rep(1,L), "var_pred"=rep(1,L) ) +ts_df = + # Series are 1,1,...,1 2,2,...,2 ... 7,7,...,7 1,1,...,1 ...etc # First serie on monday 2007-01-01 -- 2.44.0