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.
ts.plot(..., gpars = list())
one or more univariate or multivariate time series.
list of named graphics parameters to be passed to the
plotting functions. Those commonly used can be supplied directly in
Although this can be used for a single time series,
easier to use and is preferred.
require(graphics) ts.plot(ldeaths, mdeaths, fdeaths, gpars=list(xlab="year", ylab="deaths", lty=c(1:3)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.