RcppKgCor | R Documentation |
Computes Kernel Gini distance correlation statistics, in which Xs are quantitative, Y are categorical, sigma is kernel standard deviation and return the kernel Gini mean difference.
RcppKgCor(x, y, sigma)
x |
data |
y |
label of data or univariate response variable |
sigma |
kernel standard deviation |
RcppKgCor
compute kernel Gini distance correlation statistics for data.
It is Rcpp version of KgCor.
RcppKgCor
returns the sample Kernel Gini distance covariance
gCov
gCor
dCor
n=100 x<-runif(n) y<-c(rep(1,n/2),rep(2,n/2)) RcppKgCor(x, y, sigma=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.