pois.simu.plot {clttools} | R Documentation |
Histogram and Q-Q plot of simulated Poisson distribution
pois.simu.plot(n, lambda, times, ylim = NULL, qqplot = FALSE)
n |
number of trials in one simulation |
lambda |
parameter of Poisson distribution |
times |
number of simulations |
ylim |
range of y-axis |
qqplot |
an argument to output Q-Q plot or not, can be TRUE or FALSE |
Histogram and Q-Q plot of simulated Poisson distribution, red curve represents theoretical density
pois.simu.plot(n = 5, lambda = 3, times = 100)