Re: [R] Simple vector question.

From: <>
Date: Sat, 26 Jul 2008 02:30:32 -0400

Thank you this is exactly what I wanted.

I was unaware of the 'aggregate' function.

Now what if I want to know the sum of the sales per day AND per Category? So for the data below the DayOfYearSales for HOLIDAY and day 1 would be 2.

Thank you.

Kevin mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Sat 26 Jul 2008 - 06:35:46 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 26 Jul 2008 - 13:32:22 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive