what is rnorm
If you want to generate a vector of normally distributed random numbers, rnorm is the function you should use. The first argument n is the number of numbers you want to generate, followed by the standard mean and sd arguments. Letâs illustrate the weak law of large numbers using rnorm.