On Tue, Jun 24, 2014 at 10:41 AM, Tahira Jamil <tahja...@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. ______________________________________________ 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.