Usage
kda.kde(x, x.group, Hs, hs, prior.prob=NULL, gridsize, xmin, xmax,
supp=3.7, eval.points=NULL, binned=FALSE, bgridsize, w,
compute.cont=FALSE, approx.cont=TRUE)
Arguments
x.group
vector of group labels
prior.prob
vector of prior probabilities
gridsize
vector of number of grid points
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
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.