From: Benjamin Auder Date: Wed, 22 Feb 2017 11:05:10 +0000 (+0100) Subject: 'update' X-Git-Url: https://git.auder.net/images/assets/doc/html/%7B%7B%20targetUrl%20%7D%7D?a=commitdiff_plain;h=6710081f89f7befd2955ef11d78d0e26e6d26bb0;p=talweg.git 'update' --- 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