subseries: Seasonal Subseries Plots for inzightts

View source: R/feat.R

subseriesR Documentation

Seasonal Subseries Plots for inzightts

Description

Time series subseries plot by seasonal period

Usage

subseries(
  x,
  var = NULL,
  show_mean = TRUE,
  xlab = NULL,
  ylab = NULL,
  title = NULL
)

Arguments

x

A time series object represented by an inz_ts or tbl_ts object.

var

A character vector specifying the variable(s) to be plotted, or set to NULL to plot all variables.

show_mean

Logical; set to FALSE to exclude the mean line from the plot.

xlab

A title for the x-axis of the plot.

ylab

A title for the y-axis of the plot.

title

A title for the graph.

Details

Plots seasonal subseries of a time series represented by an inz_ts or tbl_ts object. Each subseries represents one seasonal period.

Value

A ggplot object of the seasonal subseries plot.

See Also

gg_subseries

Examples

t <- inzightts(visitorsQ)
## Not run: 
subseries(t)

## End(Not run)


iNZightVIT/iNZightTS documentation built on Feb. 3, 2024, 11:50 p.m.