dist_mixture {distributional} | R Documentation |
Create a mixture of distributions
Description
Usage
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))
[Package distributional version 0.4.0 Index]