[R] Discrete Uniform Distribution

Muhammad-Usman Zaheer muhammad-usman.zaheer at fulbrightmail.org
Wed Aug 9 00:18:13 CEST 2017


Hey

I want to generate a discrete uniform distribution as follows:

For example:

I want to get 278734 records each with a numbers between 7-10. And the sum
of numbers in 278734 records to be equal to 2253712. Once this is done, I
want to get that printed to an excel file such that

Record             Value
1                        9
2                        7
so on
278734             8


The total for column "Value"=2253712

​Thanks.​

-- 





Best,

​m.u.zaheer​

	[[alternative HTML version deleted]]



More information about the R-help mailing list