Howdy, 

I am looking for an efficient and fast way for doing this:

for (v in 1:dw)      {ok <-list1[v,]

          for (z in 1:5)  {kk = ok[z] ; 
          for (o in 1:t)  {if (kk== list[o]) n<- n+1}}
          show(n)     }

list1  :  a data.frame with nrow = dw ; ncol = z;
list2  :  a data.frame with nrow = 1   ; ncol = t
 with t > z
   

Thanks

Louis martin


       
---------------------------------

	[[alternative HTML version deleted]]

