Skip to content
Prev 385796 / 398503 Next

jitter-bug? problematic behaviour of the jitter function

Those seem like useful properties if jitter() is used in plotting (as it 
was originally intended), but that use isn't even mentioned in the help 
page.  Martin wanted to "add a small amount of noise to a numeric 
vector" "in order to break ties" (quoting from that help page).

For Martin's use, it sounds as though quantreg::dither might be a better 
solution (though I think it won't work when numerical error splits ties, 
so some differences are extremely small, if the scale of the values 
varies too much, but I'd guess that's a fairly rare circumstance).

Duncan Murdoch
On 24/09/2020 1:03 p.m., Bert Gunter wrote: