View source: R/make_full_perm_set.R
| make_full_perm_set | R Documentation |
Given a length n, make_full_perm_set finds all permutations of
length n whose elements can be 0 or 1.
make_full_perm_set(length)
length |
The length of each permutation. |
Returns a matrix with n columns, where each row corresponds to a different permutation of 0s and 1s.
# All possible permutations of length 3
make_full_perm_set(3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.