Learn R Programming

distributional (version 0.5.0)

dist_inflated: Inflate a value of a probability distribution

Description

[Stable]

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.