See references for details.
Usage
MVKE(d, v, h = 0.2, kernel = c("exp", "Gaussian"))
Arguments
- d
The dataset. Should be a matrix or a data frame, with each row representing a random vector.
- v
The vectors corresponding to the dataset. Should be a matrix or a data frame with the same shape as
d
. If missing, then the vectors will be calculated from the dataset.- h
The bandwidth for the kernel estimator.
- kernel
The type of kernel estimator used. "exp" by default (
exp()
), and if "Gaussian" thenstats::dnorm()
will be used.