Description Usage Arguments Value Author(s) See Also Examples
View source: R/CompoundDistribution.R
Generates an object of class "CompoundDistribution"
.
1 2 3  CompoundDistribution(NumbOfSummandsDistr, SummandsDistr, .withSim = FALSE,
withSimplify = FALSE)

NumbOfSummandsDistr 
Object of class 
SummandsDistr 
Object of class 
.withSim 
logical; value of the corresponding slot. 
withSimplify 

Object of class "CompoundDistribution"
, or if
argument withSimplify
is TRUE
the result of
simplifyD
applied to the compound distribution,
i.e. an object of class "UnivarLebDecDistribution"
, or if degenerate,
of class "AbscontDistribution"
or "DiscreteDistribution"
.
Peter Ruckdeschel [email protected]
CompoundDistributionclass
,
simplifyD
1 2 3 4 5 6 7 8 9 10 11  CP0 < CompoundDistribution(Pois(), Norm())
CP0
CP1 < CompoundDistribution(DiscreteDistribution(supp = c(1,5,9,11),
prob = dbinom(0:3, size = 3,prob = 0.3)),Norm())
CP1
UL < UnivarDistrList(Norm(), Binom(10,0.3), Chisq(df=4), Norm(),
Binom(10,0.3), Chisq(df=4), Norm(), Binom(10,0.3),
Chisq(df=4), Td(5), Td(10))
CP2 < CompoundDistribution(DiscreteDistribution(supp = c(1,5,9,11),
prob = dbinom(0:3, size = 3, prob = 0.3)),UL)
plot(CP2)

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.