gen_combn | R Documentation |
generate all combinations
gen_combn(x, n = 2)
x |
vector |
n |
numbers of element to combine |
all combinations
gen_combn(1:4, n = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.