Lorenz curves with ggplot2 and some common inequality measures.

autoplot.locu | Actually draws the Lorenz curve. |

gini | Computes the gini coefficient for a given vector. |

herfindahl | Computes the Herfindahl-(Hirschmann) index measure of... |

locu | Computes support points of the Lorenz curve of a given... |

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.