-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example forecaster for modeltools #510
Conversation
@dajmcdon This is my example forecaster |
@@ -109,7 +109,7 @@ | |||
#' @importFrom dplyr filter select pull summarize between bind_cols | |||
#' @importFrom tidyr pivot_longer | |||
#' @export | |||
quantgen_forecaster = function(df, forecast_date, signals, incidence_period, | |||
quantgen_forecaster = function(df_list, forecast_date, signals, incidence_period, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This signature won't work with the new evalcast
. Unless you pass some of these through the forecaster_args()
list.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most of it is actually unnecessary though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The plan is to make it all compliant with the new evalcast although I realize that they are not visible from one another yet.
Adds an example forecaster to
modeltools
that demonstrates how to use themodeltools
functions to construct a forecaster withquantgen
.