Will generate numbers from a random subrange within the given range.
For example, if [min, max]is set to \[0, 10\], this function could decide to generaten` numbers between 2 and 6.
runif_subrange(n, min, max)Generates values with runif, bounded by a range drawn from sort(runif(2, min, max)).
runif_subrange(20, 0, 10)
#> [1] 4.1913190 1.6929194 4.4106098 1.7398452 3.7851572 2.2941052 0.8342869
#> [8] 3.9375448 2.7286090 4.7545895 4.9341907 4.1154723 0.6825417 3.9061921
#> [15] 0.9253145 1.1272012 4.2914595 4.9123769 1.8496730 2.4844211