projects
/
talweg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
'update'
[talweg.git]
/
data
/
scripts
/
build_testdata.R
diff --git
a/data/scripts/build_testdata.R
b/data/scripts/build_testdata.R
index
9bc4fa4
..
516eae6
100644
(file)
--- 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)
# 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
# Series are 1,1,...,1 2,2,...,2 ... 7,7,...,7 1,1,...,1 ...etc
# First serie on monday 2007-01-01