Description Usage Arguments Value Examples
Histogram and Q-Q plot of simulated Exponential distribution
1 | expo.simu.plot(n, rate = 1, times, ylim = NULL, qqplot = FALSE)
|
n |
number of trials in one simulation |
rate |
vector of rates |
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 Exponential distribution, red curve represents theoretical density
1 | expo.simu.plot(n = 5, rate = 2, times = 100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.