Calculate quicker combinations and choose output if only choosing 2

choose2(n = 2)

combn2(n = 2)

Arguments

n

integer indicating the total number of cases from which to choose 2

Note

To make these functions fast, they do not check their arguments. Please use these functions with caution, as incorrect arguments might have unpredictable responses.