Generate integer random numbers from range (0:10^12)

后端 未结 5 1417
予麋鹿
予麋鹿 2021-01-07 17:54

I want to generate 10000 integer random numbers between 0 and 10^12. Usually, the code would look like this:

x <- sample(0:1000000000000,10000,replace=T)
         


        
5条回答
提交回复
热议问题