dfmip.to.cdc.challenge.format | R Documentation |
Convert to CDC Forecast Challenge
dfmip.to.cdc.challenge.format( model.name, forecast.distributions, out.file, n.draws, bins = c(0, 1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 51, 101, 151, 201, 1000) )
model.name |
The name of the model results to subset from the forecast.distributions object |
forecast.distributions |
The forecast.distributions output created by dfmip for a single forecast model |
out.file |
The file to contain the CDC WNV forecast |
n.draws |
The number of forecast draws in the forecast.distributions dataframe |
bins |
Identify bins used. Inclusive on the lower bound. The upper bin must exceed all observations, otherwise probabilities will not sum to 1. |
forecast.template The forecast in the format required by the CDC (also written to file).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.