Skip to contents

The binomial pmf evaluated at k = round(pn).

Usage

BinomPeak(n, p)

Arguments

n

trials, >= 0.

p

success probability, in [0, 1].

Value

list(k, PB).

References

Morin, D. J. (2016). Probability: For the Enthusiastic Beginner. Createspace. Eq (4.96).

Examples

BinomPeak(100, 0.3)$PB
#> [1] 0.08678386