Makes a distribution belonging to the family of binomial distributions.

dst_binom(size, prob)

Arguments

size

Number of trials.

prob

Success probability for each trial.

Examples

dst_binom(10, 0.6)
#> binom parametric dst
#> 
#>  name :
#> [1] "binom"