gen.unif {hedgehog} | R Documentation |
Shrinks towards the from
value, or
if shrink.median
is on, the middle.
gen.unif(from, to, shrink.median = T)
from |
same as from in runif |
to |
same as to in runif |
shrink.median |
whether to shrink to the middle of the distribution instead of the low end. |
gen.unif(0, 1) # a float between 0 and 1