Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the difference between rnorm and runif functions ?



What is the difference between rnorm and runif functions ?..

Answer / 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

More R Programming Interview Questions

How do you get the standard deviation for a vector x?

1 Answers  


How will you combine multiple different string like “data”, “science”, “in” ,“r”, “programming” as a single string “data_science_in_r_programmming” ?

1 Answers  


What is the tree in r?

1 Answers  


Explain general format of matrices in r?

1 Answers  


Describe grep() in r string manipulation?

1 Answers  


Explain in brief preliminaries of C/C++?

1 Answers  


How can you simulate random walk model using r?

1 Answers  


Explain how to name the list elements in r?

1 Answers  


Tell me something about shinyr.

1 Answers  


How would you join multiple strings together?

1 Answers  


List the functions available in “dplyr” package?

1 Answers  


Explain what is with () and by () function in r is used for?

1 Answers  


Categories