powered by
..
approxdens(x, ...)
Function approxdens returns a function.
numeric vector, observations
additional parameters of density.default
approx inside density.default
another 'layer' of approxfun
x = rnorm(1e3L) f = approxdens(x) f(x[1:3])
Run the code above in your browser using DataLab