Re: [R] Adding Time when Blanks

2012-10-12 Thread Charles Determan Jr
This works perfect, thank you very much Rui! On Fri, Oct 12, 2012 at 1:35 PM, Rui Barradas wrote: > Hello, > > Try the following. > > > dat <- read.table(text=" > > IDgroup Start_date Time_of_experiment Time_of_end > 120209 402/02/2009 12:38:00 > 26 30209

Re: [R] Adding Time when Blanks

2012-10-12 Thread Rui Barradas
Hello, Try the following. dat <- read.table(text=" IDgroup Start_date Time_of_experiment Time_of_end 120209 402/02/2009 12:38:00 26 30209 3 03/02/2009 12:40:00 13:32:00 27 31609 4 03/16/2009 11:28:00 12

[R] Adding Time when Blanks

2012-10-12 Thread Charles Determan Jr
Greetings, My data set has dates and times that I am working with. Some of the times in Time_of_end are blank. This is supposed to dictate that the particular experiment lasted 48 hours. I would like to add 48 hours to the start Start_of_Experiment for another column as End_of_Experiment includ