Skip to contents

P(N = k) for each element of k.

Usage

pmf(dist, k, ...)

Arguments

dist

A poisson_count, negative_binomial_count or binomial_count.

k

Non-negative whole numbers.

...

Unused; for methods.

Value

Numeric vector the length of k.

Examples

pmf(poisson_count(3), 0:3)
#> [1] 0.04978707 0.14936121 0.22404181 0.22404181