Estimate density of a given kernel
Given an estimated kernel density this function estimates the density of a new vector.
dkernel(x, kernel = density(x), interpolate = FALSE, ...)
Denstiy of x
in kernel
.
Karsten Luebke, karsten.luebke@fom.de
kern <- density(rnorm(50)) x <- seq(-3, 3, len = 100) y <- dkernel(x, kern) plot(x, y, type = "l")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.