Skip to content
Prev 247165 / 398503 Next

aggredating date data

?aggregate

I would transfer your date character sting into a date object (as.POSIXct) and then extract month or week numbers (?format) from this vector and use them as indices for the aggregate function. There may be more elegant ways though....


HTH
Jannis

--- analyst41 at hotmail.com <analyst41 at hotmail.com> schrieb am Mi, 12.1.2011: