search for: date_1

Displaying 4 results from an estimated 4 matches for "date_1".

Did you mean: date1
2007 Jun 15
1
comparing dates
hello, i have to dates : @date_1 = date.new() @date_2 = date.new() i want to compare theses two dates i have tried @date_1 > @ date_2 but every time it returns me FALSE is there a solution .????? thanks -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this...
2010 Feb 21
1
Comparing two date columns
...;s. I've also tried using the chron function to compare the two and have been unsuccessful. I then tried to use:temp.2 <- as.POSIXct(strptime(temp, '%d/%m/%Y')) where temp is character vector of one of the date columns this did not work either. I'm not sure what to do now. date_1 date_2 2005-11-25 <NA> 2007-10-23 <NA> <NA> 1999-12-13 2006-01-25 <NA> 2006-06-12 <NA> 2005-08-08 <NA> 2007-12-12 <NA> 2008-04-29 <NA> 2005-03-28 <NA> 2004-11-18 2000-11-0...
2010 Dec 10
1
melt causes errors when characters and values are used
...`[<-.factor`(`*tmp*`, ri, value = c(1, 4, 5)) : invalid factor level, NAs generated It would be useful in this situation that the numerical column got converted to a character column in this situation. Any ways round this? In actual fact I have got a situation where it is more like this ID Date_1 Value_1 Date_2 Value_2 ... and I would like to convert it to a data.frame of ID, Date & Value but I thought the above would be an appropriate middle step. Thanks Dan -- ************************************************************** Daniel Brewer, Ph.D. Institute of Cancer Research Molecula...
2010 Dec 11
0
is there a packge or code to generate markov chains in R
...`[<-.factor`(`*tmp*`, ri, value = c(1, 4, 5)) : invalid factor level, NAs generated It would be useful in this situation that the numerical column got converted to a character column in this situation. Any ways round this? In actual fact I have got a situation where it is more like this ID Date_1 Value_1 Date_2 Value_2 ... and I would like to convert it to a data.frame of ID, Date & Value but I thought the above would be an appropriate middle step. Thanks Dan -- ************************************************************** Daniel Brewer, Ph.D. Institute of Cancer Research Molecula...