R/plotSeasIrrCal.R
plotSeasIrrCal.Rd
Produces a dygraph (see the online documentation for more detail). The function generates an interactive time series plot of the seasonal component, irregular component and calendar effects for a persephone object together with one year forecasts
plotSeasIrrCal(
x,
main = NULL,
forecasts = TRUE,
rangeSelector = TRUE,
drawPoints = FALSE,
annualComparison = NULL
)
an object of class persephone.
plot title
logical flag indicating if forecasts should be plotted
logical flag specifying if a range selector should be included in the plot
logical flag indicating if a small dot should be drawn at each point, in addition to a line going through the point.
integer corresponding to the month or quarter which should be highlighted in the plot for every year.
Returns an object of class dygraphs
.