allPossibleCombinations {RSBJson} | R Documentation |
Generate All Possible Combinations of m Out of n
allPossibleCombinations(n, m)
n |
n |
m |
m |
a JSON string with all possible combinations;
object of class json
as returned by toJSON
allPossibleCombinations(4, 2)