Skip to content
Prev 275175 / 398506 Next

question about aggregate

Thanks for providing the example data, try this

 aggregate(si[,7],list(si[,2],si[,1]),function(x) sum(table(x)))

Weidong
On Sat, Oct 22, 2011 at 9:28 AM, Adel ESSAFI <adel.safi at imag.fr> wrote: