RcppGmd | R Documentation |
Computes Gini mean difference of x, where alpha is an exponent on the Euclidean distance and return the Gini mean difference. The default value for alpha is 1.
RcppGmd(x, alpha)
x |
data |
alpha |
exponent on Euclidean distance, in (0,2] |
RcppGmd
compute Gini mean difference statistics for data.
It is a Rcpp version of gmd.
RcppGmd
returns the sample Gini mean difference of x
.
RcppKgCov
RcppgCor
gCov
gCor
n=1000 x<-runif(n) RcppGmd(x, alpha=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.