| naive_kde | R Documentation |
Silverman-bandwidth Gaussian kernel density estimate, shown for reference. On heaped data it inherits the rounding comb.
naive_kde(x, grid)
x |
numeric sample. |
grid |
evaluation grid (equally spaced). |
Density values on grid.
grid <- seq(-6, 6, length.out = 512)
f <- naive_kde(rnorm(1000), grid)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.