Description Usage Arguments Value
Returns the last possible date of the training data for a given set of aheads. If more than one ahead is given, the date return corresponds to the last possible date corresponding to the smallest ahead value. This is because the smallest ahead value will have the latest possible date.
1 | get_train_end_date(lagged_df, ahead)
|
lagged_df |
Data frame of lagged data as in |
ahead |
Number of days ahead to forecast. Can be a single positive integer or a vector of positive integers. |
Single date corresponding to the last possible date of the training data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.