Examples for 'quantreg::dither'


Function to randomly perturb a vector

Aliases: dither

Keywords: manip

### ** Examples

x <- rlnorm(40)
y <- rpois(40, exp(.5 + log(x)))
f <- rq(dither(y, type = "right", value = 1) ~ x)

[Package quantreg version 5.93 Index]