Description Usage Arguments Value Examples
View source: R/Functions_Workout3.R
bin_choose
1 | bin_choose(n, k)
|
n |
numeric value for number of trials |
k |
numeric value for number of successes |
combinations of successes
1 2 3 4 5 | #number of combinations in which 2 successes occur in 5 trials
bin_choose(n = 5, k = 2)
#number of combinations in which 1:3 successes occur in 5 trials
bin_choose(5, 1:3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.