Makes a distribution belonging to the family of negative binomial distributions.

dst_nbinom(size, prob)

Arguments

size

Target for number of successful trials; non-negative.

prob

Probability parameter; between 0 and 1.

Examples

dst_nbinom(10, 0.5)
#> nbinom parametric dst
#> 
#>  name :
#> [1] "nbinom"