Skip to content
Prev 169811 / 398506 Next

Choosing a random number between x and y

Vie <wxv579 <at> bham.ac.uk> writes:
assuming you want uniform distribution

?runif 

These functions provide information about the uniform distribution on the
interval from min to max. dunif gives the density, punif gives the distribution
function qunif gives the quantile function and runif generates random deviates.

Dieter