Histogram and Q-Q plot of simulated Binomial distribution

1 | ```
binom.simu.plot(n, size, prob, times, ylim = NULL, qqplot = FALSE)
``` |

`n` |
number of observations |

`size` |
number of trials (zero or more) |

`prob` |
probability of success on each trial |

`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 Binomial distribution, red curve represents theoretical density

1 | ```
binom.simu.plot(n = 10, size = 5, prob = 0.2, times = 100)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.