Displaying 1 result from an estimated 1 matches for "numberusingcupon".
2007 Jan 26
3
Using tapply to create a new table
...detail level as so:
Day Meal PricePaid UsedCupon
20060512 Fish 14 Y
20060512 Chicken 20 N
...
Is there a simple way to create summaries on the detail table and then join them into the first table above so that it looks like this:
Day NumberOfCustomers NumberOfComplaints AveragePricePaid NumberUsingCupon
I can do a tapply to get what I want from the detail table, but I can't figure out how to turn that into a table and join it back in.
Thanks,
Josh
==============================================================================
Please access the attached hyperlink for an important electr....