Re: [R] Truncating (rounding down) to nearest half hour.

2012-07-20 Thread arun
-05-01 08:30:00    80 2 2008-05-01 13:30:00    11 3 2008-05-01 16:30:00    81 4 2008-05-01 23:00:00  152 5 2008-05-02 01:00:00  130 6 2008-05-02 03:30:00  122 Is that what you were looking for? Rgds, Rainer Original-Nachricht > Datum: Thu, 19 Jul 2012 10:03:23 -0700 (

Re: [R] Truncating (rounding down) to nearest half hour.

2012-07-19 Thread Rainer Schuermann
5-01 23:00:00 152 5 2008-05-02 01:00:00 130 6 2008-05-02 03:30:00 122 Is that what you were looking for? Rgds, Rainer Original-Nachricht ---- > Datum: Thu, 19 Jul 2012 10:03:23 -0700 (PDT) > Von: APOCooter > An: r-help@r-project.org > Betreff: [R] Truncating (rounding

[R] Truncating (rounding down) to nearest half hour.

2012-07-19 Thread APOCooter
I couldn't find anything in the chron or timeDate packages, and a good search yielded rounding to the nearest half hour, which I don't want. The data: structure(list(Date = structure(c(1209625080, 1209641460, 1209652500, 1209676800, 1209682860, 1209692100, 1209706980, 1209722580, 1209726300, 12