Oh interesting; that is probably exactly what the R function does. The jittering matching up with a kernel density shape is probably just byproduct. (edit: its not a byproduct, they explicity distribute the points between kernel density, but instead of pseudorandom they use quasirandom distribution to avoid overplotting).
The R documentation says it:
Arranges data points using quasirandom noise (van der Corput sequence)
It seems like StatsFuns.jl would be a good choice, at least by name, but most of what that does is provide special functions for evaluating distributions. Is there a better like “StatsUtilities.jl” or something?
Makes some sense but it seems weird to separate out such a basic feature. It feels like making a new package for histograms because someone might want to use a histogram in lots of different packages.
But that’s true, histograms are in StatsBase and that functionality is used in plotting packages (at least Makie uses it from StatsBase, I’m not so familiar with other plotting packages).