Helper functions to quickly convert compatible objects to a MixtureDistribution.
as.MixtureDistribution(object, weights = "uniform")
(character(1)|numeric())
Weights to use in the resulting mixture. If all distributions are weighted equally then
"uniform"
provides a much faster implementation, otherwise a vector of length equal
to the number of wrapped distributions, this is automatically scaled internally.