Skip to content
Prev 198727 / 398506 Next

counting frequencies across two columns

On Sun, 01-Nov-2009 at 01:20AM -0500, Jason Priem wrote:

            
Let's call that dataframe x
I'm not clear what you require, but maybe it's this:
articleID andrews johnson jones smith
        1       0       0     1     0
        2       1       0     0     2
        3       0       1     1     0

Is that anything like what you're after?