Skip to content
Prev 316787 / 398506 Next

Script for conditional sums of vectors

Hello,

In what follows, I've renamed the data.frame 'dat', 'data' already is an 
R function.

xtabs(c ~ a + b, data = dat)


Hope this helps,

Rui Barradas

Em 04-02-2013 09:29, Benjamin Gillespie escreveu: