Dear R-helper, I use like this below (from Prof. Peter Dalgaard) and thanks to other R-helper for your help. Best regard, Muhammad Subianto >>as.data.frame(as.table(hec.data)) >> >> > eye hair Freq >1 Green Black 5 >2 Hazel Black 15 >3 Blue Black 20 >.... > > >