Calculate quicker combinations and choose output if only choosing 2
choose2(n = 2)
combn2(n = 2)
integer indicating the total number of cases from which to choose 2
To make these functions fast, they do not check their arguments. Please use these functions with caution, as incorrect arguments might have unpredictable responses.