dist_inflated: Inflate a value of a probability distribution
Description
![[Stable]](figures/lifecycle-stable.svg?package=distributional&version=0.3.2)
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.