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 ....
______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html