Description Usage Arguments Value
View source: R/pdf_Binom_fast.R
This function generates the binomial pdf, with the option to provide Binomial coefficients to it. It is useful when it is recalculated on the same N, over and over again. log_BinCoeffs can be precalculated using the function log_BinCoeffs(n) NEED TO INSERT WARNING IF p OUT OF DOMAIN [0,1]
1 | pdf_Binom_fast(n, p, log_BinCoeffs)
|
n |
The desired n for which the pdf will be calculated |
p |
The Binomial parameter probability of success |
log_BinCoeffs |
Optional vector of log-scale binomial coefficients |
Bin_p The pdf for 0:n, out of n
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.