powered by
experimental
dist_mixture(..., weights = numeric())
Distributions to be used in the mixture.
The weight of each distribution passed to ....
...
# NOT RUN { dist_mixture(dist_normal(0, 1), dist_normal(5, 2), weights = c(0.3, 0.7)) # }
Run the code above in your browser using DataLab