subseries: 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
)
Value
A ggplot object of the seasonal subseries plot.
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.
Examples
Run this codet <- inzightts(visitorsQ)
if (FALSE) {
subseries(t)
}
Run the code above in your browser using DataLab