Series are illustrated by vertical lines extending from individual data values to the long-term mean. The axes are not scaled in any way. Anomaly plots are useful for visualizing shifts in time series levels.
plotTsAnom(x, xlab = NULL, ylab = NULL, strip.labels = colnames(x), ...)
matrix or vector time series
optional x-axis label
optional y-axis label
labels for individual time series plots
A plot and corresponding object of class “ggplot”.
Options are passed to the underlying
facet_wrap function in
ggplot2. The main ones of interest are
ncol for setting the
number of plotting columns and
scales = "free_y" for allowing the y
scales of the different plots to be independent.
Alan Jassby, James Cloern