| 1. |
What Is The Difference Between Rnorm And Runif Functions? |
|
Answer» rnorm function generates "N" normal random numbers based on the mean and standard DEVIATION arguments passed to the function. SYNTAX of rnorm function - rnorm(n, mean = , sd = ) runif function generates "n" unform random numbers in the interval of minimum and maximum values passed to the function. Syntax of runif function - rnorm function generates "n" normal random numbers based on the mean and standard deviation arguments passed to the function. Syntax of rnorm function - rnorm(n, mean = , sd = ) runif function generates "n" unform random numbers in the interval of minimum and maximum values passed to the function. Syntax of runif function - runif(n, min = , max = ) |
|