![]() ![]() R is equipped with multiple functions such as uniform, Normal, Binomial, Poisson, Exponential and Gamma function which allows simulating the most common probability distribution. The statistical method which requires generating random numbers is occasionally used during analysis. We have seen how SEED can be used for reproducible random numbers that are being able to generate a sequence of random numbers and setting up a random number seed generator with SET.SEED(). In this article, we have discussed the random number generator in R and have seen how SET.SEED function is used to control the random number generation. In the above example, we have derived 10 random distributed numbers between Now let’s see how random floating number can be generated between -10 to 10
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |