[R] Avoiding loops to detect number of coincidences

2011-07-12 Thread Trying To learn again
Hi all, I have this information on a file ht.txt, imagine it is a data frame without labels: 1 1 1 8 1 1 6 4 1 3 1 3 3 And on other table called pru.txt I have sequences similar this 4 1 1 8 1 1 6 4 1 3 1 3 3 1 6 1 8 1 1 6 4 1 3 1 3 3 1 1 1 8 1 1 6 4 1 3 1 3 3 6 6 6 8 1 1 6 4 1 3 1 3 3 I want

Re: [R] Avoiding loops to detect number of coincidences

2011-07-12 Thread Sarah Goslee
Hi Trying, It would be helpful if you provided reproducible examples. It would also be polite to sign a name so that we have something by which to address you. On Tue, Jul 12, 2011 at 8:00 AM, Trying To learn again tryingtolearnag...@gmail.com wrote: Hi all, I have this information on a file