Combination/Permutation computation
calc_combination.Rd
Computation of number of combinations/permutations.
Arguments
- n
A numeric single value, that will be the total number of observations
- r
A numeric single value, that will be the number of observations to be selected
- order_matter
A boolean value, if TRUE the function will be a permutation, if not a combination (default = FALSE)
- with_repetition
A boolean value, if TRUE the function will consider that there will be repetitions (default = FALSE)