[R] Plotting 2 Lines on the Same Chart

Gabor Grothendieck ggrothendieck at gmail.com
Fri Oct 29 20:10:24 CEST 2010


On Fri, Oct 29, 2010 at 1:41 PM, Jason Kwok <jaykwok at gmail.com> wrote:
> How do I plot two time series plots on the same chart?
>

Try this:

example(plot.ts)
example(ts.plot)

library(zoo)
example(plot.zoo)
library(lattice)
example(xyplot.zoo)

-- 
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com



More information about the R-help mailing list