Calculate the Gini index of a numeric veector

1 |

`x` |
A numeric vector. |

`na.rm` |
Logical. If set to |

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

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

1 2 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.