seasonplot {deseats}R Documentation

Creation of Seasonal Plots

Description

Simplified seasonal plot creation of time series in order to identify seasonal patterns more easily.

Usage

seasonplot(
  x,
  xlab = NULL,
  ylab = NULL,
  main = NULL,
  labels = TRUE,
  colorpalette = NULL,
  rm_xticks = FALSE
)

Arguments

x

a time series object of class "ts".

xlab

a label for the plot's x-axis.

ylab

a label for the plot's y-axis.

main

a title for the plot.

labels

whether or not to show tick labels.

colorpalette

a color palette (either a numeric or character vector) that gives an alternative color palette to use for the subseries.

rm_xticks

whether to remove x-axis ticks and tick labels; the default is FALSE.

Details

The function creates a seasonal plot of the provided time series object. The series is split into different subseries, each reflecting one season, and then these subseries are plotted together. This helps identifying possible seasonal patterns in the data.

Value

The function does not return anything, however a plot is created in the plot window.

Examples

seasonplot(TEMPERATURE, xlab = "Degrees Celsius", 
 main = "Seasonal plot of German temperature data")


[Package deseats version 1.1.0 Index]