pdf_Binom_fast: This function generates the binomial pdf, with the option to...

Description Usage Arguments Value

View source: R/pdf_Binom_fast.R

Description

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]

Usage

1

Arguments

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

Value

Bin_p The pdf for 0:n, out of n


PejLab/ASEtestTools documentation built on Nov. 25, 2019, 6:46 a.m.