This function draws random samples given data
and
a density
estimate (or just
providing the correct bandwidth bw
).
1 2 
n 
number of samples 
fhat 
an object of class

weights 
vector of weights. Same length as

data 
underlying sample of 
kernel 
kernel choice for 
bw 
choice of bandwidth. Default:

1 2 3 4 5 6 
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.