Description Usage Arguments Value Author(s) Examples
It creates all possible binary (with elements equal to 0 or 1) vectors of a specified length; these vectors are casted in a matrix having a number of columns equal to the vector length. If required, the binary vectors are constrained to have the same total (sum of their elements).
1 |
J |
legnth of binary vectors |
t |
possible fixed total |
M |
matrix containing all binary vectors |
Francesco Bartolucci, Antonio Forcina
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.