randcmatrix | R Documentation |
For use within regmix
. Generates a random
0-1-matrix with n
rows
and cln
columns so that every row contains exactly one one and
every columns contains at least p+3
ones.
randcmatrix(n,cln,p)
n |
positive integer. Number of rows. |
cln |
positive integer. Number of columns. |
p |
positive integer. See above. |
An n*cln
-matrix.
Christian Hennig christian.hennig@unibo.it https://www.unibo.it/sitoweb/christian.hennig/en/
regmix
set.seed(111)
randcmatrix(10,2,1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.