Last active
November 18, 2015 18:36
-
-
Save jtleek/ea12b5f3cd81e97aed60 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(lubridate) | |
dt = "2015-11-18" | |
predict_function = function(dt){ | |
dt_ymd = ymd(dt) | |
## Get some info | |
mday_dt = mday(dt_ymd) | |
wday_dt = wday(d_ymd) | |
## Download data | |
## Fit prediction | |
## Return prediction | |
return(list(ordering, prediction_intervals)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment