View source: R/V2_gini_index.R
V2_gini_index | R Documentation |
This function is used internally to calculate the Gini index.
V2_gini_index(x, na.rm = FALSE)
x |
The vector for which to calculate the Gini index. |
na.rm |
This parameter controls whether NA values are removed from
the data prior to calculation. Default is |
The estimated estimated asymptotic variance of the Gini index.
Bhargab Chattopadhyay Bhargab@iiitvadodara.ac.in, Ken Kelley kkelley@nd.edu
x <- c(1:4) V2_gini_index(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.