Makes a distribution belonging to the family of
negative binomial distributions.
Arguments
- size
Target for number of successful trials; non-negative.
- prob
Probability parameter; between 0 and 1.
Examples
dst_nbinom(10, 0.5)
#> [1] "nbinom" "parametric" "dst"
#>
#> name :
#> [1] "nbinom"