Description Usage Arguments Value Examples
View source: R/ts_seasonality.R
Creates side-by-side boxplots for analyzing seasonality for weekly, monthly, and quarterly time series tibbles.
1 | ts_seasonality(ts_df, ts_type)
|
ts_df |
A tibble containing dates in column labeled 'ds' and values in column labeled 'y'. |
ts_type |
A string indicating the type of time series. Valid options are 'daily', 'monthly', and 'quarterly'. |
A seasonality plot.
1 2 | df <- tidyr::tibble(ds = lubridate::today() - 100:1, y = rnorm(100))
ts_seasonality(df, 'daily')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.