[R] Sample all possible contingency tables both margin fixed

Gabor Grothendieck ggrothendieck at gmail.com
Tue Jun 24 19:07:21 CEST 2014


On Tue, Jun 24, 2014 at 10:41 AM, Tahira Jamil <tahjamil at gmail.com> wrote:
> Hi,
>
> I am interested in generating all possible contingency table (2 by 2) with fixed row margins and column margins. Can anyone help me.
>

If the reason you want this is to sample them then r2dtable can do
that directly.



More information about the R-help mailing list