Possible Duplicate:
How to calculate combination and permutation in R?
When I try to calculate combinations in R using the Combinat
package and the combn
command it gives me all possible combinations. But I just want to return the number of combinations, i.e. I want to get 45 in case of 10C2. What should I do?