Rdocumentation
powered by
Learn R Programming
lqmm (version 1.0)
addnoise: Jittering
Description
This function adds a uniformly generated noise to a vector.
Usage
addnoise(x, centered = TRUE, B = 0.999)
Arguments
x
a numeric vector.
centered
logical flag. If
TRUE
(default) noise is drawn from U[0,B] and if FALSE from U[-B/2,B/2].
B
right boundary for uniform random noise U[0,B].
Value
a dithered vector.
See Also
lqm.counts