x
|
vector of observations from the distribution whose density is to
be estimated.
Missing values are not allowed.
|
bandwidth
|
the kernel bandwidth smoothing parameter.
Larger values of bandwidth make smoother estimates,
smaller values of bandwidth make less smooth estimates.
|
kernel
|
character string which determines the smoothing kernel.
kernel can be:
"normal" - the Gaussian density function (the default).
"box" - a rectangular box.
"epanech" - the centred beta(2,2) density.
"biweight" - the centred beta(3,3) density.
"triweight" - the centred beta(4,4) density.
|
canonical
|
logical flag: if TRUE, canonically scaled kernels are used.
|
gridsize
|
the number of equally spaced points at which to estimate
the density.
|
range.x
|
vector containing the minimum and maximum values of x
at which to compute the estimate.
The default is the minimum and maximum data values.
|
truncate
|
logical flag: if TRUE , data with x values outside the
range specified by range.x are ignored.
|