runif_replace {noisemodel} | R Documentation |
Random numbers considering reference values
Description
Generate n
random numbers following a uniform distribution
between min
and max
. The values in ref
can be chosen or not,
according to original
.
Usage
runif_replace(n, min, max, original, ref)
Arguments
n |
an integer with the amount of random numbers to generate. |
min |
a double with the lower limit of the distribution. |
max |
a double with the upper limit of the distribution. |
original |
a boolean indicating if the values in |
ref |
a double vector with |
Value
A double vector with the numbers generated.
[Package noisemodel version 1.0.2 Index]