[R] simple time series plot

phibo pbolliger at mac.com
Tue Apr 17 20:04:23 CEST 2012


I'm an absolute R newbie, but my question is (or at least seems) simple:

I have a number of sensor values from different sensors, along with
timestamps, so something like this:

sensor 1:
read_at:    1     2     4     5     6
value:        1   15     8    15  23

sensor 2:
read_at:    2    3     4     6     7
value:       10  11    7    12  28

what I need is a line plot of the sensor values, aligned given their
timestamps (it's in unix epoc time).

which data structure should i use? can i import from CSV file? how should I
format that data file?

which commands do I need to get the plot? is there a simple tutorial (didn't
find any).

how would you solve this?

THANKS a lot!

phibo

--
View this message in context: http://r.789695.n4.nabble.com/simple-time-series-plot-tp4565579p4565579.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list