forecast (version 7.3)

ggmonthplot: Create a seasonal subseries ggplot

Description

Plots a month plot using ggplot.

Usage

ggmonthplot(x, labels = NULL, times = time(x), phase = cycle(x), ...)

Arguments

x
a time series object (type ts).
labels
A vector of labels to use for each 'season'
times
A vector of times for each observation
phase
A vector of seasonal components
...
Not used (for consistency with monthplot)

Value

See Also

monthplot

Examples

Run this code
ggmonthplot(AirPassengers)
ggmonthplot(woolyrnq)

Run the code above in your browser using DataCamp Workspace