powered by
Randomly draws from a one-dimensional KDE
rfun(n, fhat)
Number of samples to draw
A list with elements x, w, and h (h is the KDE bandwidth).
A vector of n samples from the KDE fhat