Learn R Programming

bsts (version 0.7.1)

plot.holidays: Plot bsts holidays

Description

Makes a series of side-by-side boxplots for all the holiday state components in model.

Usage

PlotHolidays(model, ylim = NULL, same.scale = TRUE, ...)

Arguments

model

A model fit by bsts containing one or more holiday state components.

ylim

Limits on the vertical axis of the plots. If ylim is specified, all plots will have the same vertical axis.

same.scale

If ylim is NULL, this flag determines whether all plots share the same scale for there vertical axis (same.scale == TRUE), or each plot is independently scaled (same.scale == FALSE).

Extra arguments passed to boxplot.

Value

Returns invisible{NULL}.

See Also

bsts AddNamedHolidays AddFixedDateHoliday AddNthWeekdayInMonthHoliday

Examples

Run this code
# NOT RUN {
## TODO(stevescott):  add examples
# }

Run the code above in your browser using DataLab