/ Home |
S-Archive | Download Script |
choose | Number of Combinations |
n | numeric vector giving total number of objects. | |
x | numeric vector giving number of objects to be chosen. |
numeric vector of the same length as n or x giving the number of possible sets. |
> choose(5,2) [1] 60
S-Archive | Download Script |
Gordon Smyth. Copyright © 1996-2016. Last modified: 10 February 2004