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]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.