Description Usage Arguments Value Author(s) References See Also Examples
Plots a seasonal plot as described in Makridakis, Wheelwright and Hyndman (1998, chapter 2).
1 2 3 |
x |
a numeric vector or time series. |
s |
seasonal frequency of x |
season.labels |
Labels for each season in the "year" |
year.labels |
Logical flag indicating whether labels for each year of data should be plotted on the right. |
year.labels.left |
Logical flag indicating whether labels for each year of data should be plotted on the left. |
type |
plot type (as for |
main |
Main title. |
ylab |
Y-axis label |
xlab |
X-axis label |
col |
Colour |
labelgap |
Distance between year labels and plotted lines |
... |
additional arguments to |
None.
Rob J Hyndman
Makridakis, Wheelwright and Hyndman (1998) Forecasting: methods and applications, Wiley: New York. http://robjhyndman.com/forecasting/
1 | seasonplot(AirPassengers,col=rainbow(12),year.labels=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.