Description Usage Arguments Details Value Examples

Determine initialization month based on month being forecast and lag. Considers lags up to 11 months in advance.

1 | ```
getInitMonth(month, lag)
``` |

`month` |
month being forecast (integer from 1 to 12) |

`lag` |
months in advance prediction is being made (integer from 1 to 11). |

Note that this calculation assumes that the prediction for a month is its first day. This differs from the convention used in our paper which rounds up to the nearest full month. In practice, this may not be the case.

integer corresponding to the initialization month

1 2 | ```
initMonth <- getInitMonth(month = 10, lag = 4)
initMonth
``` |

hdirector/IceCastV2 documentation built on Dec. 9, 2018, 12:27 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.