Hi, Is there any function or command in R that show that how many times a number is repeated in an array? Regards, Amir -- _______________________________________________________ Amir Darehshoorzadeh | Comp. Architecture Dept. PhD Student | UPC-Campus Nord, C6-221 Email: amir at ac.upc.edu | c/ Jordi Girona, 1-3 Tel: | 08034 Barcelona - SPAIN http://personals.ac.upc.edu/amir