kde(x, H, h, gridsize, gridtype, xmin, xmax, supp=3.7, eval.points,
binned=FALSE, bgridsize, positive=FALSE, adj.positive, w,
compute.cont=FALSE, approx.cont=TRUE)
-supp, supp
]binned=TRUE
positive=TRUE
KDE is carried out on log(x +
adj.positive)
. Default is the minimum of x
.kde
which is a
list with 4 fieldseval.points
eval.points
is not specified, then the
density estimate is computed over a grid
defined by gridsize
(if binned=FALSE
) or
by bgridsize
(if binned=TRUE
). For d = 1, 2, 3, 4,
and if eval.points
is specified, then the
density estimate is computed exactly at eval.points
.
For d > 4, the kernel density estimate is computed exactly
and eval.points
must be specified.
The default xmin
is min(x) - Hmax*supp
and xmax
is max(x) + Hmax*supp
where Hmax
is the maximim of the
diagonal elements of H
.
The default weights w
is a vector of all ones.
plot.kde