Usage
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)
Arguments
gridsize
vector of number of grid points
gridtype
not yet implemented
xmin
vector of minimum values for grid
xmax
vector of maximum values for grid
supp
effective support for standard normal.
eval.points
points at which density estimate is evaluated
binned
flag for binned estimation. Default is FALSE.
bgridsize
vector of binning grid sizes
positive
flag if 1-d data are positive. Default is FALSE.
adj.positive
adjustment applied to data x <- log(x +
adj.positive)
when positive=TRUE
. Default is the minimum of x
.
w
vector of weights (non-negative and sum is equal to sample size). Default is a vector of all ones.
compute.cont
flag for computing probability contour levels from 1% to 99%. Default is FALSE.
approx.cont
flag for computing approximate probability contour levels. Default is TRUE.