Permutations_With_Repetition {ConcordanceTest} | R Documentation |
This function enumerates the possible combinations of n
elements where the first element is repeated n1
times, the second element is repeated n2
times, the third n3
times, ...
Permutations_With_Repetition(Sample_Sizes)
Sample_Sizes |
Numeric vector ( |
Returns a matrix where each row contains a permutation.
The number of permutations and the computational time increase exponentially with the number of elements and with the number of sets.
Sample_Sizes <- c(2,2,2) Permutations_With_Repetition(Sample_Sizes)