Last data update: 2014.03.03

R: Plot a list of Time Series Directly plot time series of mixed...
plot.tslistR Documentation

Plot a list of Time Series Directly plot time series of mixed frequency into one plot. readTimeSeries returns a list of time series. The returned list is also of class tslist which makes it very convenient to plot timeseries, directly out of the database. This function gets automatically the right ranges for the axes to plot all values and dates in contained in the list.

Description

Plot a list of Time Series Directly plot time series of mixed frequency into one plot. readTimeSeries returns a list of time series. The returned list is also of class tslist which makes it very convenient to plot timeseries, directly out of the database. This function gets automatically the right ranges for the axes to plot all values and dates in contained in the list.

Usage

## S3 method for class 'tslist'
plot(x, ..., use_legend = T, shiny_legend = F, lwd = 3)

Arguments

x

a list of time series. Object should be of class tslist.

...

parameters than can simply by passed on tot the plot function

use_legend

logical. Should legend be used. Defaults to TRUE. Useful to switch of if so many time series are drawn that they are hard to distinguish anyway.

shiny_legend

logical, is plot used in context of a shiny app? Defaults to FALSE.

lwd

line width argument passed to other internal plotting functions. Defaults to 3.

Results