This is my list. obs1 obs2 exp1 exp2 3 8 725 875 0 0 58 70 3 7 435 525 10 7 754 910 0 1 145 175
and i want result in contingency table as obs 3 8 exp 725 875 next table will be obs 0 0 exp 58 70 and so on... -- View this message in context: http://r.789695.n4.nabble.com/contingency-table-tp4217741p4218845.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.