[R] Sample all possible contingency tables both margin fixed

2014-06-24 Thread Tahira Jamil
Hi, I am interested in generating all possible contingency table (2 by 2) with fixed row margins and column margins. Can anyone help me. Best regards, Tahira [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://s

Re: [R] Sample all possible contingency tables both margin fixed

2014-06-24 Thread tahira jamil
gt; a b c d > [1,] 10 5 5 0 > [2,] 11 4 4 1 > [3,] 12 3 3 2 > [4,] 13 2 2 3 > [5,] 14 1 1 4 > [6,] 15 0 0 5 > > David C > > From: Michael Peng [mailto:michael.gang.p...@gmail.com] > Sent: Tuesday, June 24, 2014 1:32 PM > To: David L Carlson > Cc: Gabor Grot