[R] creat contingency tables with fixed row and column margins

Robert Baer rbaer at atsu.edu
Mon May 29 23:29:27 CEST 2017


getAnywhere(fisher.test) probably has some clues


On 5/27/2017 2:49 PM, li li wrote:
> Hi all,
>    Is there an R function that can be used to enumerate all the contingency
> tables with fixed row and column margins. For example, can we list all 3 by
> 3 tables with row margins 3,6,6 and column margins 5,5,5.
>     Thanks very much!
>     Hanna
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.



More information about the R-help mailing list