Re: [R] RESHAPE cast help.

2008-08-06 Thread rkevinburton
Thank you for your help. Now let me really show my ignorance. How do I iterate through this data frame? So with your help I have a list like head(c) DayOfYear Category Quantity 1 1 (Unknown) 82 2 1 7" Plates (Dessert)4 3 1 7" Pl

Re: [R] RESHAPE cast help.

2008-08-05 Thread hadley wickham
On Tue, Aug 5, 2008 at 11:59 AM, <[EMAIL PROTECTED]> wrote: > I have a set of data that is basically sales figures for a given year. It has > columns for Yeaqr, Day Of Year, Sku, SubCatetory, and Category. The first few > lines of data look like: > Year DayOfYearSku Quantity CatId

[R] RESHAPE cast help.

2008-08-05 Thread rkevinburton
I have a set of data that is basically sales figures for a given year. It has columns for Yeaqr, Day Of Year, Sku, SubCatetory, and Category. The first few lines of data look like: Year DayOfYearSku Quantity CatId Category SubCategory 1 2007 1 1000911 10862