dist_inflated: Inflate a value of a probability distribution
Description
lifecycle::badge("maturing")
Usage
dist_inflated(dist, prob, x = 0)
Arguments
- dist
The distribution(s) to inflate.
- prob
The added probability of observing x.
- x
The value to inflate. The default of x = 0 is for zero-inflation.