| dist_mixture | R Documentation | 
Parameters of mixing components can be overridden with
with_params = list(dists = list(..., ..., ...)).
#' Mixing probabilites can be overridden with
with_params = list(probs = list(..., ..., ...)).
The number of components cannot be overridden.
dist_mixture(dists = list(), probs = NULL)
| dists | A list of mixing distributions. May contain placeholders and duplicates. | 
| probs | A list of mixing probabilities with the same length as  | 
Does not support the quantile() capability!
A MixtureDistribution object.
Other Distributions: 
Distribution,
dist_bdegp(),
dist_beta(),
dist_binomial(),
dist_blended(),
dist_dirac(),
dist_discrete(),
dist_empirical(),
dist_erlangmix(),
dist_exponential(),
dist_gamma(),
dist_genpareto(),
dist_lognormal(),
dist_negbinomial(),
dist_normal(),
dist_pareto(),
dist_poisson(),
dist_translate(),
dist_trunc(),
dist_uniform(),
dist_weibull()
# A complicated way to define a uniform distribution on \[0, 2\]
dist_mixture(
  dists = list(
    dist_uniform(min = 0, max = 1),
    dist_uniform(min = 1, max = 2)
  ),
  probs = list(0.5, 0.5)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.