Hi, folks,

runif (n,min,max) is the typical code for generate R.V from uniform dist.

But what if we need to fix the mean as 20, and we want the values to be
integers only?

Thanks

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
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.

Reply via email to