R-beta: More Time series in the same plot

Andrea Rossetti rossetti at stat.unipg.it
Tue Oct 21 22:19:40 CEST 1997


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 at stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



More information about the R-help mailing list