| UnivarMixingDistribution {distr} | R Documentation |
Generating function for Class "UnivarMixingDistribution"
Description
Generates an object of class "UnivarMixingDistribution".
Usage
UnivarMixingDistribution(..., Dlist, mixCoeff,
withSimplify = getdistrOption("simplifyD"))
Arguments
... |
Objects of class |
Dlist |
an optional list or object of class |
mixCoeff |
Objects of class |
withSimplify |
|
Details
If mixCoeff is missing, all elements in ...
are equally weighted.
Value
Object of class "UnivarMixingDistribution", or if
argument withSimplify is TRUE and the resulting
object would have one mixing component with probability (almost) 1,
UnivarMixingDistribution will return this component.
Author(s)
Peter Ruckdeschel peter.ruckdeschel@uni-oldenburg.de
See Also
UnivarMixingDistribution-class,
simplifyD
Examples
mylist <- UnivarMixingDistribution(Binom(3,.3), Dirac(2), Norm(),
mixCoeff=c(1/4,1/5,11/20))