Description Usage Arguments Details Value Examples
Function to generate a table of combinations when applying permutation
1 | permute(n, r, v = 1:n)
|
n |
numeric for the set size where to apply the permutations |
r |
numeric for the number of wished combinations for the permutations |
v |
numeric value used to show the number of combinations in the output. The argument is passed to R's base permute function. We use the default of 1:n, which is the full set is outputted. |
we provide a table of the permutation combinations given by the number of r-combinations of an n-set, C(n,r).
data frame with C(n,r) x r combinations.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.