View source: R/binned.kernel.est.R
binned.kernel.est | R Documentation |
This function implements an interface to the kernel density estimation functions provided by the KernSmooth package.
binned.kernel.est(
data,
kernel = "normal",
bandwidth = NULL,
canonical = FALSE,
scalest = "minim",
level = 2L,
gridsize = 401L,
range.data = range(data),
truncate = TRUE
)
data |
a numeric vector containing the sample on which the kernel density estimate is to be constructed. |
kernel |
character string specifying the smoothing kernel |
bandwidth |
the kernel bandwidth smoothing parameter. |
canonical |
a logical value indicating whether canonically scaled kernels should be used |
scalest |
estimate of scale.
|
level |
number of levels of functional estimation used in the plug-in rule. |
gridsize |
the number of equally-spaced points over which binning is performed to obtain kernel functional approximation. |
range.data |
vector containing the minimum and maximum values of |
truncate |
logical value indicating whether data with x values outside the range specified by |
Hajk-Georg Drost
Matt Wand (2015). KernSmooth: Functions for Kernel Smoothing Supporting Wand & Jones (1995). R package version 2.23-14.
Henry Deng and Hadley Wickham (2011). Density estimation in R. http://vita.had.co.nz/papers/density-estimation.pdf.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.