projects
/
talweg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
new version, persistence -7 days
[talweg.git]
/
R
/
getError.R
diff --git
a/R/getError.R
b/R/getError.R
index
61e7910
..
affe6c3
100644
(file)
--- a/
R/getError.R
+++ b/
R/getError.R
@@
-9,7
+9,7
@@
#' @return A list (abs,MAPE) of lists (day,indices)
#'
#' @export
-getError = function(data, forecast, horizon)
+getError = function(data, forecast, horizon
=data$getStdHorizon()
)
{
L = forecast$getSize()
mape_day = rep(0, horizon)