illustrateCLT {distrEx} | R Documentation |
Generic function for generating a sequence of plots of the density and cdf of the consecutive standardized and centered sums of iid r.v. distributed according to a prescribed discrete or absolutely continuous distribution compared to the standard normal.
illustrateCLT(Distr, ...) ## S4 method for signature 'AbscontDistribution': illustrateCLT(Distr, len, sleep = 0) ## S4 method for signature 'DiscreteDistribution': illustrateCLT(Distr, len, sleep = 0)
Distr |
object of class "AbscontDistribution" or class "DiscreteDistribution" : distribution of the summands |
len |
integer: up to which number of summands plots are generated |
sleep |
numeric: pause between subsequent plots |
... |
addtional arguments for methods not yet implemented |
void
Matthias Kohl Matthias.Kohl@stamats.de
distroptions("DefaultNrFFTGridPointsExponent" = 13) illustrateCLT(Distr = Unif(), len = 20) distroptions("DefaultNrFFTGridPointsExponent" = 12) illustrateCLT(Distr = Pois(lambda = 2), len = 20) distroptions("DefaultNrFFTGridPointsExponent" = 13) illustrateCLT(Distr = Pois(lambda = 2)+Unif(), len = 20)