R-beta: More Time series in the same plot

Andrea Rossetti (rossetti@stat.unipg.it)
Tue, 21 Oct 1997 22:19:40 +0200


Message-Id: <3.0.1.32.19971021221940.006a00b4@stat.unipg.it>
Date: Tue, 21 Oct 1997 22:19:40 +0200
To: R-help <r-help@stat.math.ethz.ch>
From: Andrea Rossetti <rossetti@stat.unipg.it>
Subject: R-beta: More Time series in the same plot

I can plot a time series with:

gnp <- ts(cumsum(1+round(rnorm(100), 2)), start=c(1954,7), frequency=12)
plot(gnp)

But I want to plot more time series in the same plot.

How can I do it?

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=