asa159_test, a MATLAB program which calls asa159 to construct a table having given row and column sums, by Michael Patefield;
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
asa159, a MATLAB library which randomly generates an RxC contingency table, by Michael Patefield; This is a version of Applied Statistics Algorithm 159.