powered by
Shrinks towards the from value, or if shrink.median is on, the middle.
from
shrink.median
gen.unif(from, to, shrink.median = T)
same as from in runif
same as to in runif
whether to shrink to the middle of the distribution instead of the low end.
# NOT RUN { gen.unif(0, 1) # a float between 0 and 1 # }
Run the code above in your browser using DataLab