rfun {httk} | R Documentation |
Randomly draws from a one-dimensional KDE
Description
Randomly draws from a one-dimensional KDE
Usage
rfun(n, fhat)
Arguments
n |
Number of samples to draw |
fhat |
A list with elements x, w, and h (h is the KDE bandwidth). |
Value
A vector of n samples from the KDE fhat
Author(s)
Caroline Ring
References
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.
[Package httk version 2.3.1 Index]