[R] Asking about how to use R to draw Time Series graph

YERUPAJA01 YERUPAJA01 at terra.es
Wed Apr 24 12:21:52 CEST 2002


Hi,

Firts you need to set your data as ts series. Look at ?ts (first load 
library(ts)). For example:

>library(ts)
>rain.ts<-as.ts(rain)
>plot(rain.ts)

This is maybe the simplest form. You should look at ?ts in order to 
make more refinements in you plots

Cheers,

Antonio Rodríguez
CICEM Agua del Pino
Huelva, Spain

----- Mensaje Original -----
De: Uwe Ligges <ligges at statistik.uni-dortmund.de>
Fecha: Miercoles, Abril 24, 2002 8:39 am
Asunto: Re: [R] Asking about how to use R to draw Time Series graph

> Hung So wrote:
> > 
> > Hi
> >   I'm study at University of Canterbury. Now, We have one 
> project use R
> > to do time series. The problem is I don't know how to use R to 
> draw time
> > series graph! Can you help me sovle this problem? I can not find in
> > manuals book! Can you tearch me what fuction command I have to use?
> > Thanks alway!
> 
> Well, it's in "An Introduction to R", section 12.1.1.
> Also searching for "time series" in the search engine you'll get using
> help.start() might help.
> 
> Uwe Ligges
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> .-.-.-.-.-.-
> r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-
> FAQ.htmlSend "info", "help", or "[un]subscribe"
> (in the "body", not the subject !)  To: r-help-
> 
request at stat.math.ethz.ch_._._._._._._._._._._._._._._._._._._._._._._._
._._._._._._._._._._._._._._._._
> 


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