[R] tsplot

Daniel Mastropietro mastropi at uwalumni.com
Wed Jul 24 22:05:48 CEST 2002


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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list