How to generate random numbers from various statistical distributions using R
n this post, we show how to generate random numbers into vector and matrix in R programming, from various statistical distributions. Specifically, we focus several basic and widely used statistical distributions here, namely, normal distribution, continuous uniform distribution, binomial distribution and Poisson distribution.