chooseMatrix | R Documentation |
Create a choose(n,m)
by n matrix. The matrix has unique rows with m ones in each row and the rest zeros.
chooseMatrix(n, m)
n |
an integer |
m |
an integer<=n |
A matrix with choose(n,m) rows n columns. The matrix has unique rows with m ones in each row and the rest zeros.
Used for complete enumeration when method='exact.ce' in permTS
M.P.Fay
permTS
chooseMatrix(5,2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.