Learn R Programming

RSBJson (version 1.1.2)

allPossibleCombinations: Generate All Possible Combinations of m Out of n

Description

Generate All Possible Combinations of m Out of n

Usage

allPossibleCombinations(n, m)

Arguments

n

n

m

m

Value

a JSON string with all possible combinations; object of class json as returned by toJSON

Examples

Run this code
# NOT RUN {
allPossibleCombinations(4, 2)
# }

Run the code above in your browser using DataLab