RcppKGmd: Kernel Gini Mean Difference Statistics

View source: R/Kgmd.R

RcppKGmdR 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

gmd Kgmd

Examples

  x<-iris[,1]
  RcppKGmd(x, sigma=1)

GiniDistance documentation built on Sept. 2, 2022, 9:06 a.m.