Skip to contents

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

Usage

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)
#> [1] "nbinom"     "parametric" "dst"       
#> 
#>  name :
#> [1] "nbinom"