[Maturing]

dist_mixture(..., weights = numeric())

Arguments

...

Distributions to be used in the mixture.

weights

The weight of each distribution passed to ....

Examples

dist_mixture(dist_normal(0, 1), dist_normal(5, 2), weights = c(0.3, 0.7))
#> <distribution[1]>
#> [1] mixture(n=2)