ts.plot

0th

Percentile

Plot Multiple Time Series

Plot several time series on a common plot. Unlike plot.ts the series can have a different time bases, but they should have the same frequency.

Keywords
ts
Usage
ts.plot(..., gpars = list())
Arguments
...
one or more univariate or multivariate time series.
gpars
list of named graphics parameters to be passed to the plotting functions. Those commonly used can be supplied directly in ....
Value

  • None.

Note

Although this can be used for a single time series, plot is easier to use and is preferred.

See Also

plot.ts

Aliases
  • ts.plot
Examples
library(stats) require(graphics) ts.plot(ldeaths, mdeaths, fdeaths, gpars=list(xlab="year", ylab="deaths", lty=c(1:3)))
Documentation reproduced from package stats, version 3.3, License: Part of R 3.3

Community examples

andri.apr@gmail.com at Apr 1, 2019 stats v3.5.3

require(graphics) ts.plot(ldeaths, mdeaths, fdeaths, gpars=list(xlab="year", ylab="deaths", lty=c(1:3))) }