Description Usage Arguments Details Value Author(s) References Examples

Calculate the Gini index of a numeric vector.

1 | ```
gini(x)
``` |

`x` |
A numeric vector. |

The Gini index (Gini coefficient) is a measure of statistical dispersion. A Gini coefficient of zero expresses perfect equality where all values are the same. A Gini coefficient of one expresses maximal inequality among values.

A numeric value between 0 and 1.

Jitao David Zhang <[email protected]>

Gini. C. (1912) *Variability and Mutability*, C. Cuppini, Bologna
156 pages.

1 2 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.