with "table" function you can just build a contigence table. What do you think about "arules" package? I thought "mining associative rules" is the correct approach to the problem.. Thanks Abanero -- View this message in context: http://r.789695.n4.nabble.com/Knowledge-discovery-tp2276207p2276368.html Sent from the R help mailing list archive at Nabble.com.