Combinations
Computes the number of ways to choose elements among : .
Syntax
combinations(Integer, Integer)
combinations(List | Vector, Integer)
Description
Given two integers and , returns the number of ways to choose elements among : .
Given a list or vector and an integer , returns a list with all the possible ways to choose element among .