rfun {httk} | R Documentation |
Randomly draws from a one-dimensional KDE
rfun(n, fhat)
n |
Number of samples to draw |
fhat |
A list with elements x, w, and h (h is the KDE bandwidth). |
A vector of n samples from the KDE fhat
Caroline Ring
Ring CL, Pearce RG, Setzer RW, Wetmore BA, Wambaugh JF (2017). “Identifying populations sensitive to environmental chemicals by simulating toxicokinetic variability.” Environment International, 106, 105–118.