[R] contingency table

reena glowing.spikes at hotmail.com
Tue Dec 20 19:36:57 CET 2011


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.



More information about the R-help mailing list