Skip to content
Prev 155335 / 398513 Next

How to preserve date format while aggregating

Can you provide some actual data.  It sounds like the columns you are
are POSIXct, in which case you would want to do something like this:

time <- structure(time, class = c("POSIXt", "POSIXct"))

So it is important to know what your numeric values came from and what
their actual values were.  Which of these values look closer to what
you are seeing:
[1] 1220832000
[1] 14130
On Mon, Sep 8, 2008 at 9:15 AM, Erich Studerus
<erich.studerus at bli.uzh.ch> wrote: