in reply to Re: counting pairwise incidences
in thread counting pairwise incidences

Thanks everyone for their help! The order doesn't matter so the variant of the code supplied by moritz and jpl works a treat. Highly impressed by the speed of answering btw; I just checked back on the site I never expected replies to be so quick... long live the brotherhood!

Cheers!

Reuben