Description Usage Arguments Value Examples
get_forecast(df, days, seasonality) returns a dataframe with the forecast means and bounds.
1  | get_forecast(df, days, seasonality)
 | 
df | 
 A time series data frame with a date and value column.  | 
days | 
 The number of days you want to forecast out to.  | 
seasonality | 
 The seasonality frequency (eg 7 for weekly seasonality).  | 
A new dataframe containing the forecasts.
1  | forecasts <- get_forecast(df, days = 30, seasonality = 7)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.