Re: [R] Add missing values/timestamps

2009-04-03 Thread j.k
Thanks a lot! The way with zoo worked perfect. Here is the code I've used finally: data.input01 <-read.csv("./1_15min.txt", header = TRUE, sep = ";", quote="\"", dec=",", fill = TRUE, comment.char="") data.input02 <-read.csv("./2_15min.txt", header = TRUE, sep = ";", quote="\"", dec=",", fill =

Re: [R] Add missing values/timestamps

2009-04-02 Thread Gabor Grothendieck
Try this where we read in a zoo series and then merge it with a zero width regularly spaced series to create the result. Lines <- "V1,V2 2008-10-14 08:45:00,94411.08 2008-10-14 08:50:00,90745.45 2008-10-14 08:55:00,82963.35 2008-10-14 09:00:00,75684.38 2008-10-14 09:05:00,78931.82 2008-10-14 09:20

Re: [R] Add missing values/timestamps

2009-04-02 Thread Uwe Ligges
j.k wrote: Hello alltogheter, I have the following problem and maybe someone can help me with it. I have a list of values with times. They look like that: V1 V2 1 2008-10-14 08:45:00 94411.08 2 2008-10-14 08:50:00 90745.45 3 2008-10-14 08:55:00 82963.35

[R] Add missing values/timestamps

2009-03-30 Thread j.k
Hello alltogheter, I have the following problem and maybe someone can help me with it. I have a list of values with times. They look like that: V1 V2 1 2008-10-14 08:45:00 94411.08 2 2008-10-14 08:50:00 90745.45 3 2008-10-14 08:55:00 82963.35 4 2008-10-14