Re: [R] Frequency count of Boolean pattern in 4 vectors.

2013-06-01 Thread William Dunlap
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf > Of Sridhar Iyer > Sent: Saturday, June 01, 2013 2:57 PM > To: r-help@r-project.org > Subject: [R] Frequency count of Boolean pattern in 4 vectors. > > I need to do this on very large data

[R] Frequency count of Boolean pattern in 4 vectors.

2013-06-01 Thread Sridhar Iyer
I need to do this on very large datasets ( > a few million data points). So seeking help in figuring out an implementation of the task. Input 4 vectors which contain values as 0 or 1. (as integers, not boolean bits) vec_A = ( 0, 1, 0, 0, .. 1, 0, 1, 0) etc vec_B = (0,0,1,1.) vec_C, vec_D