What is the difference between rnorm and runif functions ?
Answer Posted / Anurag Kumar Srivastava
rnorm generates normally distributed random numbers, while runif generates uniformly distributed random numbers. Both functions take arguments specifying the mean and standard deviation for rnorm or the minimum and maximum for runif. The main difference is in the distribution of the generated values.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers