# 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 #TODO: