[R] pivot table

lara.palandra lara.palandra at libero.it
Fri Feb 28 12:56:45 CET 2014

hi..i would create a pivot table in R and i would create two levels of
columns. I'll try to explain better. I have a table so done:

id   agency	      offer	month      product

1	a	         L	gen	        star
2	b	         M	feb	        meteor
3	c	         N	gen	        moon
4	d	         O	march	moon
..      ..              ...     ....            ....

i'd like to aggregate this table in this way:

in the table there is id count.

help me!!

View this message in context: http://r.789695.n4.nabble.com/pivot-table-tp4685993.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list