[R] plot.ts

kjetil@acelerate.com kjetil at acelerate.com
Wed Apr 28 02:02:32 CEST 2004


I have problems getting sensible series name plotted
with the ts.plot function. It doesn't seem to 
use either ylab= or xy.labels= arguments. 
I ended up using

plot({arg <- ts.union(gasolina.eq, PIBmensPred, PIBgrowthmens) ;
       colnames(arg) <- c("Gaso" ,"PIB", "PIBgrowth");arg },
   main="Gasolina eq. con crecimiento Economico", 
   xlab="Tiempo")

There must be a more natural way?

Kjetil Halvorsen




More information about the R-help mailing list