Thanks everyone for your help! All your suggestions work. I appreciate it. Have a great day! -- View this message in context: http://n4.nabble.com/How-to-count-the-number-of-occurence-tp1661733p1675997.html Sent from the R help mailing list archive at Nabble.com.