a character string specifying the first parent distribution (for example, "lnorm" if
the parent distribution corresponds to the lognormal).
arg1
list of arguments/parameters of the first parent distribution.
spec2
a character string specifying the second parent distribution (for example, "exp" if
the parent distribution corresponds to the exponential).
arg2
list of arguments/parameters of the second parent distribution.
interval
a vector of interval end-points to search function root.
Value
An object of the length n, giving the random generated values for the mixture model.
References
Abu Bakar, S. A., Nadarajah, S., Adzhar, Z. A. A. K., & Mohamed, I. (2016). gendist: An R package for generated probability distribution models. PloS one, 11(6).
Pearson, K. (1894). Contributions to the mathematical theory of evolution. Philosophical Transactions of the Royal Society of London. A, 71-110.