[R] Random Integer Number in Uniform Distribution

Gundala Viswanath gundalav at gmail.com
Mon Oct 25 08:38:03 CEST 2010


Is there a way to do it? At best what I can achieve
is non integer:

> runif(10, min=1, max=100)
 [1] 51.959151 56.654146 63.630251  3.172794  4.073018 11.977437 86.601869
 [8] 75.788618 11.734361  6.770962


-G.V.



More information about the R-help mailing list