[R] Plot multiple time series on a seasonal plot

2018-06-29 Thread Jérôme François via R-help
Dear members, I would like to plot a second time series (a forecast) to a seasonal plot made with function seasonplot() from the package forecast. Here is a reproducible example: ts1 <- structure(c(112035, 82, 111015, 109331, 107525, 107749, 111435, 111629, 112462, 112256, 109496, 107917,

Re: [R] plot multiple time series

2009-02-03 Thread Gabor Grothendieck
The quantmod package has graphics that are specific to securities. The zoo package has plot.zoo and xyplot.zoo . On Tue, Feb 3, 2009 at 6:30 AM, Shimrit Abraham wrote: > Hi, > > I have a dataframe containing a date object in the first column and numeric > data in two other columns, for a total of

[R] plot multiple time series

2009-02-03 Thread Shimrit Abraham
Hi, I have a dataframe containing a date object in the first column and numeric data in two other columns, for a total of three columns. I would like to plot the 2 numeric data columns against the dates in one window. How do I do this? It is easy to do if only one data series is to be plotted agai