Description Usage Arguments Value Examples
function which computes number of permutations for k successes in n trials
1 | bin_choose(trials = 1, success = 1)
|
trials |
a non-negative integer which provides the number of trials |
success |
a non-negative integer, smaller or equal to n, which provides the number of successes in n trials |
an object of numeric class, number of permutations for given success and trials
1 2 3 4 5 6 7 8 | #default
1_choose_1 <- bin_choose(1, 1)
#second example
10_choose_4 <- bin_choose(10, 4)
#0 successes
5_choose_0 <- bin_choose(5, 0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.