RcppKGmd {GiniDistance} | R Documentation |
Kernel Gini Mean Difference Statistics
Description
Computes Kernel Gini mean difference of X, sigma is the kernel parameter and returns the kernel Gini mean difference.
Usage
RcppKGmd(x, sigma)
Arguments
x |
data |
sigma |
kernel parameter for Gaussian kernel |
Details
RcppKGmd
compute kernel Gini mean difference for data
It is Rcpp version of Kgmd.
Value
RcppKGmd
returns the sample Kernel Gini distance
See Also
Examples
x<-iris[,1]
RcppKGmd(x, sigma=1)
[Package GiniDistance version 0.1.1 Index]