View source: R/plot_boxplot_weekly.r
plot_boxplot_weekly | R Documentation |
Generate a multi-panel plot of boxplots by week
plot_boxplot_weekly( this_factor, this_week, forecast = 0, this_range = NULL, this_type = "Irregular", this_title )
this_factor |
Numeric vector of factors from a weekly seasonal adjustment. |
this_week |
Numeric vector; Week of the year to match. |
forecast |
Numeric scalar; Number of forecasts. Default: 0. |
this_range |
Numeric scalar; Range of the seasonal factors to be plotted. Default: range taken from the observations being plotted. |
this_type |
Character string; type of factor being plotted. Default: 'Irregular' |
this_title |
Character string; Main title for plot. |
Generate a mulit-panel plot of boxplots of factors by week. Need to have plot_boxplot_single
loaded to run.
ic_sf_range <- range(ic_sf, ic_sf_auto) plot_boxplot_weekly(ic_sf, ic_week, forecast = 0, this_range = ic_sf_range, this_type = "Seasonal", this_title = 'Initial Claims (default)') plot_boxplot_weekly(ic_sf_auto, ic_week, forecast = 0, this_range = ic_sf_range, this_type = "Seasonal", this_title = 'Initial Claims (auto outliers)')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.