gen.unif: Generate a float between the from and to the values...

Description Usage Arguments Examples

View source: R/gen.R

Description

Shrinks towards the from value, or if shrink.median is on, the middle.

Usage

1
gen.unif(from, to, shrink.median = T)

Arguments

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.

Examples

1
gen.unif(0, 1) # a float between 0 and 1

hedgehog documentation built on May 2, 2019, 11:27 a.m.