Description Usage Arguments Details Value Source See Also
View source: R/kernel_density_estimator.R
The kernel_density_estimator
function builds a kernel
density estimator using the provided kernel, bandwidth and samples.
1 | kernel_density_estimator(kernel, samples, bandwidth = 1, subdivisions = 1000L)
|
kernel |
a kernel as S3 object of the class Kernel. |
samples |
numeric vector; the observations. |
bandwidth |
non-negative numeric scalar; the bandwidth for the estimator. |
subdivisions |
positive numeric scalar; subdivisions parameter
internally passed to |
The validation of the returned estimator as
IntegrableFunction
relies on the function
integrate_primitive
, thus the subdivisions
parameter.
The estimator as S3 object of class IntegrableFunction
.
Nonparametric Estimation, Comte [2017], ISBN: 978-2-36693-030-6
Kernel
for more information about kernels,
pco_method
, cross_validation
and
goldenshluger_lepski
for automatic bandwidth-selection
algorithms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.