PlotMonth | R Documentation |
Plot seasonal effects of a univariate time series following Cleveland's definition for cycle plots.
PlotMonth(x, type = "l", labels, xlab = "", ylab = deparse(substitute(x)), ...)
x |
univariate time series |
type |
one out of |
labels |
the labels for the cyclic component to be displayed on the x-axis |
xlab |
a title for the x axis: see |
ylab |
a title for the y axis: see |
... |
the dots are passed to the plot command. |
A cycle plot is a graphical method invented to study teh behaviour of a seasonal time series. The seasonal component of a univariate series is graphed. First the January values are graphed for successive years, then the February values and so forth. For each monthly subseries the mean of the values is portrayed by a horizontal line.
Markus Huerzeler (ETH Zurich), slight changes Andri Signorell <andri@signorell.net>
Cleveland, W. S. (1985) The Elements of Graphing Data. Monterey, CA: Wadsworth.
ts
PlotMonth(AirPassengers)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.