Dear all, I would like to plot n time series together. I've defined a matrix w, where each column contains one time series. With S-Plus usually I use the tsplot(.) command, but it seems that this command is not available in R. Can someone help me? Thank you, Enrico De Giorgi ************************************************ ETH Z?rich and University of Z?rich Enrico De Giorgi Researcher Risklab and Institute for Empirical Research in Economics Bl?mlisalpstrasse 10 CH-8006 Z?rich Tel.: ++41 +1 6343781 Fax : ++41 +1 6344907 Homepage Work: http://www.math.ethz.ch/~degiorgi/ Homepage Private: http://www.ticino.edu/usr/enrico_degiorgi/ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Tue, 23 Jul 2002, Enrico De Giorgi wrote:> I would like to plot n time series together. I've defined a matrix w, where > each column contains one time series.Better to use ts.union to make a multiple time series, as a matrix does not have a time base.> With S-Plus usually I use the > tsplot(.) command, but it seems that this command is not available in R. > > Can someone help me?library(ts) ?plot.ts -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
At 03:17 PM 23/7/2002 +0100, ripley at stats.ox.ac.uk wrote:>On Tue, 23 Jul 2002, Enrico De Giorgi wrote: > > > I would like to plot n time series together. I've defined a matrix w, where > > each column contains one time series. > >Better to use ts.union to make a multiple time series, as a matrix does >not have a time base.You could also do: plot( as.ts(w) ) -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._