[R] Choosing a random number between x and y
Greg.Snow at imail.org
Mon Feb 9 20:16:48 CET 2009
The runif function meets the stated criteria, if that is not good enough, then give us more detail.
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
greg.snow at imail.org
> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Vie
> Sent: Monday, February 09, 2009 7:41 AM
> To: r-help at r-project.org
> Subject: [R] Choosing a random number between x and y
> Ive been trying to find a function that will allow me to pull out a
> between a minimum and maximum threshold.
> I want a random decimal number between, for example, 0 and 0.5 or 0 and
> I've been searching everywhere for a function that will allow me to do
> in R, but I have yet to be successful. Any help would be much
> Thanks in advance
> View this message in context: http://www.nabble.com/Choosing-a-random-
> Sent from the R help mailing list archive at Nabble.com.
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help