dkernel | R Documentation |
Given an estimated kernel density this function estimates the density of a new vector.
dkernel(x, kernel = density(x), interpolate = FALSE, ...)
x |
vector of which the density should be estimated |
kernel |
object of |
interpolate |
Interpolate or use |
... |
currently not used. |
Denstiy of x
in kernel
.
Karsten Luebke, karsten.luebke@fom.de
density
, NaiveBayes
kern <- density(rnorm(50))
x <- seq(-3, 3, len = 100)
y <- dkernel(x, kern)
plot(x, y, type = "l")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.