Generate n
random numbers following a uniform distribution
between min
and max
. The values in ref
can be chosen or not,
according to original
.
runif_replace(n, min, max, original, ref)
A double vector with the numbers generated.
an integer with the amount of random numbers to generate.
a double with the lower limit of the distribution.
a double with the upper limit of the distribution.
a boolean indicating if the values in ref
can be chosen.
a double vector with n
reference values.