Some information on the meaning of the fields would have
been helpful but asuming that the fields are row number, dd-mm-yy date,
Event, State (which may be empty) and Value, the following
produces a list, L, of 3 zoo objects:
Lines.raw <- "Time Event State Value
1 24-10-20 BMU 20
2 25
Just add the steps to do the conversion yourself. Also you data seems
to be missing columns, at least in the mail you sent. Also the 'zoo'
object will be a character matrix.
> x <- read.table(tc <- textConnection(" Time Event State Value
+ 24-10-20 BMU 20
+ 25-10-20 Image
Hey all again,
So I'm going through tutorials and getting a better sense of R structures.
So I made some mockup data to see if I can figure out how to load it
properly. (attached) if anyone has any suggestions on a better way to
structure that data please let me know.
So the file has three colu
R News 4/1 which gives an overview of the date time classes.
On 10/22/07, B. Bogart <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> I'm using R to visualize and explore the data produced by a software
> system. The software generates logs for many types of events. The
> software runs for days on end,
I would suggest that you use POSIXct as the format for the date/time.
This will give you resolution to almost a microsecond, so you should
be able to differentiate between multiple sequencial events. As for
reading it in, almost anything is reasonable; e.g., 2007/10/22
18:38:25.123456. You just h
Hello all,
I'm using R to visualize and explore the data produced by a software
system. The software generates logs for many types of events. The
software runs for days on end, and can possibly generate multiple events
per second.
What is the appropriate time format for year, month, day, hour,
6 matches
Mail list logo